From: Manuel Munz Date: Thu, 23 May 2013 14:07:23 +0000 (+0000) Subject: modules/freifunk: Allow to enable/disable VAP in community profiles X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82267099aeff57652d198930774519c66a6420dd;p=oweals%2Fluci.git modules/freifunk: Allow to enable/disable VAP in community profiles --- diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua b/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua index a8beef846..c9bd23ed6 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