From 0dbebdbddf8f6156ab2b2a7b0e2b1976a9db2cb1 Mon Sep 17 00:00:00 2001 From: Gavin Lambert Date: Sun, 1 Jun 2014 18:07:47 +1200 Subject: [PATCH] Exit properly on "restart" request to init script. [29-init-restart] --- script/init.d/ethercat.in | 1 + 1 file changed, 1 insertion(+) diff --git a/script/init.d/ethercat.in b/script/init.d/ethercat.in index d0f981cd..12ea4547 100755 --- a/script/init.d/ethercat.in +++ b/script/init.d/ethercat.in @@ -227,6 +227,7 @@ restart) $0 stop || exit 1 sleep 1 $0 start + exit ;; status)