summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
Diffstat (limited to 'applications')
-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 54eeb30c0..d7cf40094 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