summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ffwizard-leipzig/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-14 16:19:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-14 16:19:18 +0000
commit00026ef79d7808cd0d8de83562f99e964523e00f (patch)
treeb307212a2741642c6042c526b7659eb352e9dd06 /applications/luci-ffwizard-leipzig/luasrc/model
parent5fff612e0a051d524b5fd9d7d4a27bba1c2ea286 (diff)
* luci/app/ffwizard: add more communities to Freifunk selection list
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc/model')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 3149a3a9d0..74a66e825d 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -36,8 +36,12 @@ main = f:field(Flag, "wifi", "Freifunkzugang einrichten")
net = f:field(Value, "net", "Freifunknetz")
net.rmempty = true
net:depends("wifi", "1")
+net:value("104.0", "Berlin (104.0)")
+net:value("104.59", "Leisnig/Gadow/div. (104.59)")
net:value("104.61", "Leipzig (104.61)")
net:value("104.62", "Halle (104.62)")
+net:value("191.161", "Augsburg (191.161)")
+
function net.cfgvalue(self, section)
return uci:get("freifunk", "wizard", "net")
end