X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-ffwizard-leipzig%2Fluasrc%2Fmodel%2Fcbi%2Fffwizard.lua;fp=applications%2Fluci-ffwizard-leipzig%2Fluasrc%2Fmodel%2Fcbi%2Fffwizard.lua;h=b30b596ec1304b1f0142512fe5e75ce0fee3fd0a;hb=8dac35f7cd4a7a4f61ca4ce620a7d4e85b20c33a;hp=edcedd78b9dd77d9a0e11984c9dee3e9da6caf21;hpb=38a52d9a29d41fe804c6b34158fd7d92a3296ea9;p=project%2Fluci.git 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})