luci-0.8: merge r4527
This commit is contained in:
parent
10a73eb41a
commit
e928518ba7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue