luci-0.8: merge r4693
This commit is contained in:
parent
8b4ed85b7d
commit
b5e913024b
1 changed files with 2 additions and 0 deletions
|
@ -300,6 +300,8 @@ function olsr.write(self, section, value)
|
||||||
-- Write new nameservice settings
|
-- Write new nameservice settings
|
||||||
uci:section("olsrd", "LoadPlugin", nil, {
|
uci:section("olsrd", "LoadPlugin", nil, {
|
||||||
library = "olsrd_nameservice.so.0.3",
|
library = "olsrd_nameservice.so.0.3",
|
||||||
|
suffix = ".olsr",
|
||||||
|
hosts_file = "/var/etc/hosts.olsr",
|
||||||
latlon_file = "/var/run/latlon.js",
|
latlon_file = "/var/run/latlon.js",
|
||||||
lat = latval and string.format("%.15f", latval) or "",
|
lat = latval and string.format("%.15f", latval) or "",
|
||||||
lon = lonval and string.format("%.15f", lonval) or ""
|
lon = lonval and string.format("%.15f", lonval) or ""
|
||||||
|
|
Loading…
Reference in a new issue