summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-common/files
diff options
context:
space:
mode:
authorMatthias Uferer <ufo@rund.freifunk.net>2014-07-30 14:22:06 +0000
committerMatthias Uferer <ufo@rund.freifunk.net>2014-07-30 14:22:06 +0000
commit33d88f9b54efe40ddecbef0d594ec90662efdc36 (patch)
tree0f994e997b5c302263476315daba0869712d9040 /contrib/package/freifunk-common/files
parent3e48447c9abf3fcfe58a107aa7234d8f32d7ae60 (diff)
olsr watchdog also for renamed pid file (ipv4) https://github.com/freifunk/firmware-leipzig/issues/15
Diffstat (limited to 'contrib/package/freifunk-common/files')
-rwxr-xr-xcontrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog2
1 files changed, 1 insertions, 1 deletions
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()