X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-ffwizard-leipzig%2Fluasrc%2Fmodel%2Fcbi%2Fffwizard.lua;h=320694767715a14016c239953a0d144b68cf55bd;hb=b5e913024b3f57074f421e9cf07d2b16d1cea5d4;hp=e82353031215309b4735d426b334bfaca915456c;hpb=7253f64bcb2f7537773637c79b2da8f797ba9732;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 e82353031..320694767 100644 --- a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua +++ b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua @@ -300,6 +300,8 @@ function olsr.write(self, section, value) -- Write new nameservice settings uci:section("olsrd", "LoadPlugin", nil, { library = "olsrd_nameservice.so.0.3", + suffix = ".olsr", + hosts_file = "/var/etc/hosts.olsr", latlon_file = "/var/run/latlon.js", lat = latval and string.format("%.15f", latval) or "", lon = lonval and string.format("%.15f", lonval) or ""