diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-03-16 17:49:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-03-16 17:49:34 +0000 |
commit | ce5b93a1b7e8b793fbd9150b76d7b4a175abdb56 (patch) | |
tree | cddf03996ab31ddf73afe19ea65c8c40aae66398 /applications | |
parent | d4948ad040ea448bef7a0aa9ec5cba0eb677845d (diff) |
applications/luci-olsr: add support for watchdog plugin
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-olsr/luasrc/i18n/olsr.de.lua | 2 | ||||
-rw-r--r-- | applications/luci-olsr/luasrc/i18n/olsr.en.lua | 2 | ||||
-rw-r--r-- | applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua | 6 |
3 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-olsr/luasrc/i18n/olsr.de.lua b/applications/luci-olsr/luasrc/i18n/olsr.de.lua index 4e652c85d..97a2d943e 100644 --- a/applications/luci-olsr/luasrc/i18n/olsr.de.lua +++ b/applications/luci-olsr/luasrc/i18n/olsr.de.lua @@ -125,3 +125,5 @@ olsrd_loadplugin_exportroutes = 'Routen nur an Quagga oder auch an Kernel export olsrd_loadplugin_localpref = 'Lokale Routen immer bevorzugen' olsrd_loadplugin_distance = 'Distanz für exportierte Routen' olsrd_loadplugin_keyfile = 'Schlüsseldatei' +olsrd_loadplugin_file = 'Watchdog Zeitstempeldatei' +olsrd_loadplugin_interval = 'Aktualisierungsinterval in Sekunden' diff --git a/applications/luci-olsr/luasrc/i18n/olsr.en.lua b/applications/luci-olsr/luasrc/i18n/olsr.en.lua index dc1e4423f..5b7f6d3c4 100644 --- a/applications/luci-olsr/luasrc/i18n/olsr.en.lua +++ b/applications/luci-olsr/luasrc/i18n/olsr.en.lua @@ -125,3 +125,5 @@ olsrd_loadplugin_exportroutes = 'Only export routes to Quagga or to kernel too' olsrd_loadplugin_localpref = 'Always prefer local routes' olsrd_loadplugin_distance = 'Distance of exported routes' olsrd_loadplugin_keyfile = 'Key file' +olsrd_loadplugin_file = 'Watchdog timestamp file' +olsrd_loadplugin_interval = 'Refresh interval in seconds' diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua index a0d6a2357..9c1a83123 100644 --- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua +++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua @@ -2,6 +2,7 @@ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> +Copyright 2009 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -133,6 +134,11 @@ if arg[1] then { Value, "accept", "10.247.200.4" } }, + ["olsrd_watchdog.so.0.1"] = { + { Value, "file", "/var/run/olsrd.watchdog" }, + { Value, "interval", "30" } + }, + ["olsrd_arprefresh.so.0.1"] = {}, ["olsrd_dot_draw.so.0.3"] = {}, ["olsrd_dyn_gw_plain.so.0.4"] = {}, |