Exit properly on "restart" request to init script.
authorGavin Lambert <uecasm@users.sourceforge.net>
Sun, 01 Jun 2014 18:07:47 +1200
changeset 2624 ecef88726fc3
parent 2623 ae24ede76e16
child 2625 e25af8bd3957
Exit properly on "restart" request to init script.
[29-init-restart]
script/init.d/ethercat.in
--- a/script/init.d/ethercat.in	Sat May 31 18:12:17 2014 +1200
+++ b/script/init.d/ethercat.in	Sun Jun 01 18:07:47 2014 +1200
@@ -227,6 +227,7 @@
     $0 stop || exit 1
     sleep 1
     $0 start
+    exit
     ;;
 
 status)