File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -575,6 +575,10 @@ EMCSERVER=linuxcncsvr
575575GetFromIniQuiet HALUI HAL
576576HALUI=$retval
577577
578+ # 2.7.1 get halbridge info from INI
579+ GetFromIniQuiet HALBRIDGE HAL
580+ HALBRIDGE=$retval
581+
578582# 2.8. get display information
579583GetFromIni DISPLAY DISPLAY
580584EMCDISPLAY=$( (set -- $retval ; echo " $1 " ) )
@@ -872,6 +876,12 @@ if [ -n "$HALUI" ] ; then
872876 $HALCMD loadusr -Wn halui " $HALUI " -ini " $INIFILE "
873877fi
874878
879+ # run hal bridge program IF requested
880+ if [ -n " $HALBRIDGE " ] ; then
881+ echo " Starting HAL User Interface program: $HALBRIDGE " >> " $PRINT_FILE "
882+ $HALCMD loadusr -Wn bridge $HALBRIDGE
883+ fi
884+
875885# 4.3.6. execute HALCMD config files (if any)
876886
877887TWOPASS=$( $INIVAR -ini " $INIFILE " -var TWOPASS -sec HAL -num 1 2> /dev/null)
You can’t perform that action at this time.
0 commit comments