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: http://git.lede-project.org./?a=commitdiff_plain;h=33d88f9b54efe40ddecbef0d594ec90662efdc36;p=project%2Fluci.git 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 aa8de61622..069f4c3217 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()