projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10a73eb
)
luci-0.8: merge r4527
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 15 May 2009 14:25:05 +0000
(14:25 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 15 May 2009 14:25:05 +0000
(14:25 +0000)
modules/freifunk/root/usr/sbin/ff_olsr_watchdog
patch
|
blob
|
history
diff --git
a/modules/freifunk/root/usr/sbin/ff_olsr_watchdog
b/modules/freifunk/root/usr/sbin/ff_olsr_watchdog
index 2b4fabed16a7807ec4c07b9ce36ed9c4dab5f0f7..3e5258d9bea3c00d749e9599a822091765f5f801 100755
(executable)
--- 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