From 33d88f9b54efe40ddecbef0d594ec90662efdc36 Mon Sep 17 00:00:00 2001 From: Matthias Uferer Date: Wed, 30 Jul 2014 14:22:06 +0000 Subject: [PATCH] olsr watchdog also for renamed pid file (ipv4) https://github.com/freifunk/firmware-leipzig/issues/15 --- contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2