diff -r 69056c46aa4d -r bc2d4bf9cbe5 script/init.d/ethercat.in --- a/script/init.d/ethercat.in Thu Sep 06 19:52:17 2012 +0200 +++ b/script/init.d/ethercat.in Thu Sep 06 20:22:24 2012 +0200 @@ -24,7 +24,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # # --- -# +# # The license mentioned above concerns the source code only. Using the EtherCAT # technology and brand is only permitted in compliance with the industrial # property and similar rights of Beckhoff Automation GmbH. @@ -126,7 +126,7 @@ else echo Invalid MAC address \"${1}\" in ${ETHERCAT_CONFIG} exit_fail - fi + fi } #------------------------------------------------------------------------------ @@ -157,7 +157,7 @@ parse_mac_address ${DEVICE} DEVICES=${DEVICES}${MAC} - + parse_mac_address ${BACKUP} BACKUPS=${BACKUPS}${MAC} @@ -243,7 +243,7 @@ for i in `seq 0 $(expr ${MASTER_COUNT} - 1)`; do echo -n "Master${i} " - + # Check if the master is in idle or operation phase ${ETHERCAT} master --master ${i} 2>/dev/null | \ grep -qE 'Phase:[[:space:]]*Idle|Phase:[[:space:]]*Operation'