From 93f819de3256413b946a422e2faad0dd1de5c05d Mon Sep 17 00:00:00 2001 From: Alessio Caiazza Date: Wed, 28 May 2014 17:02:40 +0200 Subject: [PATCH] olsrd: avoid fake startup-error messages Calling service_check too early may result in a false reading --- olsrd/files/olsrd.init | 1 + 1 file changed, 1 insertion(+) diff --git a/olsrd/files/olsrd.init b/olsrd/files/olsrd.init index 4da101c..5864756 100644 --- a/olsrd/files/olsrd.init +++ b/olsrd/files/olsrd.init @@ -799,6 +799,7 @@ start() { return 1 else service_start /usr/sbin/olsrd -f "$OLSRD_CONFIG_FILE" -nofork + sleep 1 service_check /usr/sbin/olsrd || { log "startup-error: check via: '/usr/sbin/olsrd -f \"$OLSRD_CONFIG_FILE\" -nofork'" } -- 2.30.2