mirror of
https://github.com/openwrt/luci.git
synced 2026-06-17 17:03:20 +04:00
olsr watchdog also for renamed pid file (ipv4) https://github.com/freifunk/firmware-leipzig/issues/15
This commit is contained in:
@@ -5,7 +5,7 @@ require "io"
|
||||
require "uci"
|
||||
local fs = require "nixio.fs"
|
||||
|
||||
if fs.access("/var/run/olsrd.pid") then
|
||||
if fs.access("/var/run/olsrd.pid") or fs.access("/var/run/olsrd4.pid") then
|
||||
local stamp, intv
|
||||
local x = uci.cursor()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user