diff options
author | Manuel Munz <freifunk@somakoma.de> | 2013-05-23 14:07:23 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2013-05-23 14:07:23 +0000 |
commit | 82267099aeff57652d198930774519c66a6420dd (patch) | |
tree | aab22d9097371f852a61474d735d08b56b4f1d8b /modules/freifunk/luasrc | |
parent | 542fa0e49329a8087719b56cc17613cce122b6b5 (diff) |
modules/freifunk: Allow to enable/disable VAP in community profiles
Diffstat (limited to 'modules/freifunk/luasrc')
-rw-r--r-- | modules/freifunk/luasrc/model/cbi/freifunk/profile.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua b/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua index a8beef8468..c9bd23ed61 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua @@ -70,6 +70,9 @@ else ipv6_prefix.datatype = "ip6addr" ipv6_prefix.rmempty = true + local vap = c:option(Flag, "vap", translate("VAP"), translate("Enable a virtual access point (VAP) by default if possible.")) + vap.rmempty = true + local lat = c:option(Value, "latitude", translate("Latitude")) lat.datatype = "range(-180, 180)" lat.rmempty = false |