From: Matthias Uferer Date: Wed, 30 Jul 2014 14:22:06 +0000 (+0000) Subject: olsr watchdog also for renamed pid file (ipv4) https://github.com/freifunk/firmware... X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=33d88f9b54efe40ddecbef0d594ec90662efdc36 olsr watchdog also for renamed pid file (ipv4) https://github.com/freifunk/firmware-leipzig/issues/15 --- diff --git a/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog b/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog index aa8de6162..069f4c321 100755 --- a/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog +++ b/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog @@ -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()