Added spaces to init script.
authorFlorian Pose <fp@igh-essen.com>
Fri, 01 Aug 2008 12:53:00 +0000
changeset 1190 5f2e38dddd4e
parent 1189 acc6430bfb32
child 1191 c816f8416cfc
Added spaces to init script.
script/init.d/ethercat.in
--- a/script/init.d/ethercat.in	Fri Aug 01 12:46:26 2008 +0000
+++ b/script/init.d/ethercat.in	Fri Aug 01 12:53:00 2008 +0000
@@ -145,7 +145,7 @@
 case "${1}" in
 
 start)
-    echo -n "Starting EtherCAT master @VERSION@"
+    echo -n "Starting EtherCAT master @VERSION@ "
 
     # construct DEVICES and BACKUPS from configuration variables
     DEVICES=""
@@ -197,7 +197,7 @@
     ;;
 
 stop)
-    echo -n "Shutting down EtherCAT master @VERSION@"
+    echo -n "Shutting down EtherCAT master @VERSION@ "
 
     # unload EtherCAT device modules
     for MODULE in ${DEVICE_MODULES} master; do
@@ -229,7 +229,7 @@
     ;;
 
 status)
-    echo "Checking for EtherCAT master @VERSION@"
+    echo "Checking for EtherCAT master @VERSION@ "
 
     # count masters in configuration file
     MASTER_COUNT=0
@@ -242,7 +242,7 @@
     RESULT=0
 
     for i in `seq 0 $(expr ${MASTER_COUNT} - 1)`; do
-        echo -n "Master${i}"
+        echo -n "Master${i} "
         
         # Check if the master is in idle or operation phase
         ${ETHERCAT} master --master ${i} 2>/dev/null | \