applications/luci-ffwizard-leipzig: setup olsr hosts file after recreating nameservice config

This commit is contained in:
Jo-Philipp Wich 2009-05-27 20:44:20 +00:00
parent ec396f3907
commit f20034cd82

View file

@ -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 ""