summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ffwizard-leipzig/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-12 19:30:57 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-12 19:30:57 +0000
commit8dac35f7cd4a7a4f61ca4ce620a7d4e85b20c33a (patch)
tree9afd615a7f0b78cc78f45a5d508e3ecea8c77e1e /applications/luci-ffwizard-leipzig/luasrc/model
parent38a52d9a29d41fe804c6b34158fd7d92a3296ea9 (diff)
application/luci-ffwizard-leipzig: don't write system hostname to olsrd config, will be taken from system config
Diffstat (limited to 'applications/luci-ffwizard-leipzig/luasrc/model')
-rw-r--r--applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index edcedd78b..b30b596ec 100644
--- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@ -262,19 +262,6 @@ function olsr.write(self, section, value)
local community = net:formvalue(section)
local external = community and uci:get("freifunk", community, "external") or ""
- -- Configure nameservice
- local hostname
- uci:foreach("system", "system", function(s) hostname = s.hostname end)
-
- if hostname then
- uci:foreach("olsrd", "LoadPlugin",
- function(s)
- if s.library == "olsrd_nameservice.so.0.3" then
- uci:set("olsrd", s['.name'], "name", hostname)
- end
- end)
- end
-
-- Delete old interface
uci:delete_all("olsrd", "Interface", {interface=device})