remove trunk from urlprefix (#261)

This commit is contained in:
Steve AB7PA 2022-03-05 10:46:57 -07:00 committed by GitHub
parent d3b67ddbb8
commit 125f49d640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -68,7 +68,7 @@ function defaultPackageRepos(repo)
urlprefix = urlprefix .. "/releases/" .. a .. "/" .. b .. "/" .. release
else
-- nightly
urlprefix = urlprefix .. "/snapshots/trunk"
urlprefix = urlprefix .. "/snapshots"
end
end
if repo:match("aredn_core") then
@ -159,7 +159,7 @@ local settings = {
default = defaultPackageRepos('freifunk'),
postcallback = "writePackageRepo('freifunk')"
},
{
key = "aredn.@poe[0].passthrough",
type = "boolean",
@ -177,19 +177,19 @@ local settings = {
condition = "hasUSB()"
},
{
key = "aredn.@tunnel[0].maxclients",
type = "string",
desc = "Specifies the maximum number of tunnel clients this node can serve; must be an integer in the range [0,100]. (Only applies if tunnel software is installed)",
default = "10",
key = "aredn.@tunnel[0].maxclients",
type = "string",
desc = "Specifies the maximum number of tunnel clients this node can serve; must be an integer in the range [0,100]. (Only applies if tunnel software is installed)",
default = "10",
condition = "hasTunnelSoftware()",
precallback = "restrictTunnelLimitToValidRange()",
postcallback = "adjustTunnelInterfaceCount()"
},
{
key = "aredn.@tunnel[0].maxservers",
type = "string",
desc = "Specifies the maximum number of tunnel servers to which this node can connect; must be an integer in the range [0,100]. (Only applies if tunnel software is installed)",
default = "10",
key = "aredn.@tunnel[0].maxservers",
type = "string",
desc = "Specifies the maximum number of tunnel servers to which this node can connect; must be an integer in the range [0,100]. (Only applies if tunnel software is installed)",
default = "10",
condition = "hasTunnelSoftware()",
precallback = "restrictTunnelLimitToValidRange()",
postcallback = "adjustTunnelInterfaceCount()"
@ -440,7 +440,7 @@ function adjustTunnelInterfaceCount()
deleteTunnelInterface("network", tunnum)
end
-- can't clone network because it contains macros; re-edit it instead
os.execute("sed -i -e '$r /etc/config.mesh/network_tun' -e '/interface.*tun',$d' /etc/config.mesh/network")
os.execute("sed -i -e '$r /etc/config.mesh/network_tun' -e '/interface.*tun',$d' /etc/config.mesh/network")
end
end