mirror of
https://git.openwrt.org/project/luci.git
synced 2025-11-01 06:21:40 +08: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