提交 aae312e7 编写于 作者: J Jo-Philipp Wich

luci-0.8: merge r4729

上级 5a2c8db8
......@@ -324,6 +324,9 @@ function olsr.write(self, section, value)
uci:set("dhcp", s[".name"], "addnhosts", "/var/etc/hosts.olsr")
end)
-- Make sure that OLSR is enabled
sys.exec("/etc/init.d/olsrd enable")
uci:save("olsrd")
uci:save("dhcp")
end
......@@ -434,6 +437,9 @@ function client.write(self, section, value)
-- Register splash
uci:section("luci_splash", "iface", nil, {network=device.."dhcp", zone="freifunk"})
uci:save("luci_splash")
-- Make sure that luci_splash is enabled
sys.exec("/etc/init.d/luci_splash enable")
end
return f
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册