summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk/luasrc
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2013-05-23 14:07:23 +0000
committerManuel Munz <freifunk@somakoma.de>2013-05-23 14:07:23 +0000
commit82267099aeff57652d198930774519c66a6420dd (patch)
treeaab22d9097371f852a61474d735d08b56b4f1d8b /modules/freifunk/luasrc
parent542fa0e49329a8087719b56cc17613cce122b6b5 (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.lua3
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