Changeset 4340
- Timestamp:
- 03/16/09 18:42:39 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
r4260 r4340 285 285 olsrbase.ignore = "0" 286 286 uci:section("olsrd", "Interface", nil, olsrbase) 287 uci:save("olsrd") 287 288 -- Delete old watchdog settings 289 uci:delete_all("olsrd", "LoadPlugin", {library="olsrd_watchdog.so.0.1"}) 290 291 -- Write new watchdog settings 292 uci:section("olsrd", "LoadPlugin", nil, { 293 library = "olsrd_watchdog.so.0.1", 294 file = "/var/run/olsrd.watchdog", 295 interval = "30" 296 }) 288 297 289 298 -- Import hosts … … 291 300 uci:set("dhcp", s[".name"], "addnhosts", "/var/etc/hosts.olsr") 292 301 end) 302 303 uci:save("olsrd") 293 304 uci:save("dhcp") 294 305 end
