diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-15 14:24:22 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-15 14:24:22 +0000 |
commit | 82b15b30abd1ed278550bdeb38168462d0b91674 (patch) | |
tree | 77619a59d9826b7ee9aeae73ee6c0d3a7bd3c0ac /modules/freifunk/root | |
parent | 8de14bbfbf6070899849226d85b8a9bc1dee449e (diff) |
modules/freifunk: duplicate olsr watchdog interval
Diffstat (limited to 'modules/freifunk/root')
-rwxr-xr-x | modules/freifunk/root/usr/sbin/ff_olsr_watchdog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/freifunk/root/usr/sbin/ff_olsr_watchdog b/modules/freifunk/root/usr/sbin/ff_olsr_watchdog index 2b4fabed1..3e5258d9b 100755 --- a/modules/freifunk/root/usr/sbin/ff_olsr_watchdog +++ b/modules/freifunk/root/usr/sbin/ff_olsr_watchdog @@ -21,7 +21,7 @@ if posix.access("/var/run/olsrd.pid") then local systime = os.time() local wdgtime = tonumber(io.lines(stamp)()) - if not wdgtime or ( systime - wdgtime ) > intv then + if not wdgtime or ( systime - wdgtime ) > ( intv * 2 ) then os.execute("logger -t 'OLSR watchdog' 'Process died - restarting!'") os.execute("/etc/init.d/olsrd restart") end |