From f20034cd8251ec676d24365c6d1eb1bcfd440028 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 27 May 2009 20:44:20 +0000 Subject: [PATCH] applications/luci-ffwizard-leipzig: setup olsr hosts file after recreating nameservice config --- .../luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua | 2 ++ 1 file changed, 2 insertions(+) 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 "" -- 2.25.1