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 4e652c8..97a2d94 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 dc1e442..5b7f6d3 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 a0d6a23..9c1a831 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"]   = {},