script/init.d/ethercat
changeset 806 ab8daaabbe48
parent 702 bc985819713a
child 812 80c3d9c8292f
equal deleted inserted replaced
805:262acb953f01 806:ab8daaabbe48
   173 
   173 
   174         MASTER_INDEX=$(expr ${MASTER_INDEX} + 1)
   174         MASTER_INDEX=$(expr ${MASTER_INDEX} + 1)
   175     done
   175     done
   176 
   176 
   177     # load master module
   177     # load master module
   178     if ! ${MODPROBE} ec_master main=${DEVICES} backup=${BACKUPS}; then
   178     if ! ${MODPROBE} ec_master main_devices=${DEVICES} backup_devices=${BACKUPS}; then
   179         exit_fail
   179         exit_fail
   180     fi
   180     fi
   181 
   181 
   182     # remove stale device node
   182     # remove stale device node
   183     rm -f /dev/${XMLDEVICE}0
   183     rm -f /dev/${XMLDEVICE}0