git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
542fa0e
)
modules/freifunk: Allow to enable/disable VAP in community profiles
author
Manuel Munz
<redacted>
Thu, 23 May 2013 14:07:23 +0000
(14:07 +0000)
committer
Manuel Munz
<redacted>
Thu, 23 May 2013 14:07:23 +0000
(14:07 +0000)
modules/freifunk/luasrc/model/cbi/freifunk/profile.lua
patch
|
blob
|
history
diff --git
a/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua
b/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua
index a8beef846899f4c79b2d17cc750b1e23c5ae1cc9..c9bd23ed618d9be0616088a12f6ebd9e6c6d4e2e 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT