modules/freifunk: Allow to enable/disable VAP in community profiles
[project/luci.git] / modules / freifunk / luasrc / model / cbi / freifunk / profile.lua
index a8beef8..c9bd23e 100644 (file)
@@ -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