diff options
author | Matthias Uferer <ufo@rund.freifunk.net> | 2014-07-30 14:22:06 +0000 |
---|---|---|
committer | Matthias Uferer <ufo@rund.freifunk.net> | 2014-07-30 14:22:06 +0000 |
commit | 33d88f9b54efe40ddecbef0d594ec90662efdc36 (patch) | |
tree | 0f994e997b5c302263476315daba0869712d9040 | |
parent | 3e48447c9abf3fcfe58a107aa7234d8f32d7ae60 (diff) |
olsr watchdog also for renamed pid file (ipv4) https://github.com/freifunk/firmware-leipzig/issues/15
-rwxr-xr-x | contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog | 2 |
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 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() |