summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ffwizard-leipzig/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua15
1 files changed, 1 insertions, 14 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index 54eeb30c05..d7cf400945 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -78,26 +78,13 @@ end
client = f:field(Flag, "client", "WLAN-DHCP anbieten")
client:depends("wifi", "1")
client.rmempty = true
-function client.cfgvalue(self, section)
- return uci:get("freifunk", "wizard", "client")
-end
-function client.write(self, section, value)
- uci:set("freifunk", "wizard", "client", value)
- uci:save("freifunk")
-end
olsr = f:field(Flag, "olsr", "OLSR einrichten")
+olsr.rmempty = true
share = f:field(Flag, "sharenet", "Eigenen Internetzugang freigeben")
share.rmempty = true
-function share.cfgvalue(self, section)
- return uci:get("freifunk", "wizard", "sharenet")
-end
-function share.write(self, section, value)
- uci:set("freifunk", "wizard", "sharenet", value)
- uci:save("freifunk")
-end