From: Jo-Philipp Wich Date: Fri, 15 May 2009 14:25:05 +0000 (+0000) Subject: luci-0.8: merge r4527 X-Git-Tag: 0.8.7~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e928518ba76e3dbef618f74147781acdd172ccc8;p=oweals%2Fluci.git luci-0.8: merge r4527 --- 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