mirror of https://github.com/aredn/aredn.git
Make the options booleans
This commit is contained in:
parent
e1ddbabb85
commit
a8d3be4403
|
@ -147,8 +147,8 @@ local settings = {
|
|||
{
|
||||
category = "WAN Settings",
|
||||
key = "aredn.@wan[0].olsrd_gw",
|
||||
type = "string",
|
||||
desc = "Allow others to use my WAN",
|
||||
type = "boolean",
|
||||
desc = "Allow other MESH nodes to use my WAN - not recommended and OFF by default",
|
||||
default = "0",
|
||||
postcallback = "changeWANGW()",
|
||||
needreboot = true
|
||||
|
@ -156,16 +156,16 @@ local settings = {
|
|||
{
|
||||
category = "WAN Settings",
|
||||
key = "aredn.@wan[0].lan_dhcp_route",
|
||||
type = "string",
|
||||
desc = "Allow LAN devices to accessing WAN",
|
||||
type = "boolean",
|
||||
desc = "Allow my LAN devices to access my WAN - ON by default",
|
||||
default = "1",
|
||||
needreboot = true
|
||||
},
|
||||
{
|
||||
category = "WAN Settings",
|
||||
key = "aredn.@wan[0].lan_dhcp_defaultroute",
|
||||
type = "string",
|
||||
desc = "Provide default route to LAN devices when WAN access is disabled",
|
||||
type = "boolean",
|
||||
desc = "Provide default route to LAN devices even when WAN access is disabled",
|
||||
default = "0",
|
||||
needreboot = true
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue