From: Alex J. <ale...@us...> - 2005-05-31 20:22:20
|
Update of /cvsroot/emc/emc2/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16306 Modified Files: emc.run Log Message: moved the io load a bit sooner, so the hal files can see the pins exported by the iocontroller Index: emc.run =================================================================== RCS file: /cvsroot/emc/emc2/scripts/emc.run,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** emc.run 29 May 2005 19:26:23 -0000 1.21 --- emc.run 31 May 2005 20:22:10 -0000 1.22 *************** *** 533,536 **** --- 533,546 ---- export HAL_RTMOD_DIR=$EMC2_DIR/rtlib + # Run emcio in background + echo "Starting EMC IO program: $EMCIO" >$PRINT_FILE + if [ ! -x $EMC2_BIN_DIR/$EMCIO ] ; then + echo "Can't execute IO program $EMC2_BIN_DIR/$EMCIO" + Cleanup + exit 1 + fi + $EMC2_BIN_DIR/$EMCIO -ini $INIFILE & + + # execute HALCMD config files (if any) NUM=1 *************** *** 577,589 **** $HALCMD start - # Run emcio in background - echo "Starting EMC IO program: $EMCIO" >$PRINT_FILE - if [ ! -x $EMC2_BIN_DIR/$EMCIO ] ; then - echo "Can't execute IO program $EMC2_BIN_DIR/$EMCIO" - Cleanup - exit 1 - fi - $EMC2_BIN_DIR/$EMCIO -ini $INIFILE & - # Run emctask in background echo "Starting EMC TASK program: $EMCTASK" >$PRINT_FILE --- 587,590 ---- *************** *** 595,599 **** $EMC2_BIN_DIR/$EMCTASK -ini $INIFILE & - # Run emcserver in background, if necessary if [ -n "$EMCSERVER" ] ; then --- 596,599 ---- |