applications/luci-olsr: add support for watchdog plugin
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 16 Mar 2009 17:49:34 +0000 (17:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 16 Mar 2009 17:49:34 +0000 (17:49 +0000)
applications/luci-olsr/luasrc/i18n/olsr.de.lua
applications/luci-olsr/luasrc/i18n/olsr.en.lua
applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua

index 4e652c85d550c37de0a3ac5bdeff99634d8f8775..97a2d943e61c1ed6b193e88900e343d0fd0ae29f 100644 (file)
@@ -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'
index dc1e4423f4fa6c23e13622bb01629a0c0c9cab33..5b7f6d3c456048c32b368ac56cae1169f40521e4 100644 (file)
@@ -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'
index a0d6a235707a3a3270a71c2d91afe3923b8a98cb..9c1a8312328d2ac41aa7390abe40690e92c4218a 100644 (file)
@@ -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"]   = {},