File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -64,25 +64,14 @@ if [[ -z $CONFIG ]]; then
6464 CONFIG=$HUTCH$CNFEXT
6565fi
6666
67- #
68- # this is XPP specific. Don't think we should have local plugins anyways,
69- # only release ones.
70- #
71- source /reg/g/pcds/setup/pathmunge.sh
72- if [ " $HUTCH " == ' xpp' ]; then
73- ldpathmunge /reg/neh/operator/xppopr/ami_plugins
74- elif [ " $HUTCH " == ' xcs' ]; then
75- ldpathmunge /reg/neh/operator/xcsopr/online/ami_plugins
76- fi
77-
7867
7968DAQHOST=$( wheredaq)
8069ami_base_path=$( grep ami_base_path /reg/g/pcds/dist/pds/" $HUTCH " /scripts/" $CONFIG " | grep -v ' #' | grep -v ' ami_base_path+' | awk ' BEGIN { FS = "=" }; { print $2}' | sed s/\' //g)
81- ami_path=$ami_base_path $( grep ami_path /reg/g/pcds/dist/pds/" $HUTCH " /scripts/" $CONFIG " | grep -v ' ami_path+' | grep -v ' #' | awk ' BEGIN { FS = "= " }; { print $2}' | sed s/ami_base_path+// | sed s/\' //g)
70+ ami_path=$ami_base_path $( grep ami_GUI_path /reg/g/pcds/dist/pds/" $HUTCH " /scripts/" $CONFIG " | grep -v ' ami_path+' | grep -v ' #' | awk ' BEGIN { FS = "= " }; { print $2}' | sed s/ami_base_path+// | sed s/\' //g)
8271
8372proxy_cds=$( /reg/g/pcds/dist/pds/" $HUTCH " /current/tools/procmgr/procmgr status /reg/g/pcds/dist/pds/" $HUTCH " /scripts/" $CONFIG " | grep ami_proxy | awk ' {print $1}' | sed s/' -fez' /' ' /g)
8473
85- amicmd=$( grep ami_client /reg/g/pcds/dist/pds/" $HUTCH " /scripts/" $CONFIG " | grep -v ' #' | awk ' BEGIN { FS = ":" }; { print $4}' | sed s/ami_path //g | sed s/\' +proxy_cds/" $proxy_cds " /g | sed s:\' +expname:" $EXPNAME " /:g | sed s/+\' //g | sed s/\'\}\) //g)
74+ amicmd=$( grep ami_client /reg/g/pcds/dist/pds/" $HUTCH " /scripts/" $CONFIG " | grep -v ' #' | awk ' BEGIN { FS = ":" }; { print $4}' | sed s/ami_GUI_path //g | sed s/\' +proxy_cds/" $proxy_cds " /g | sed s:\' +expname:" $EXPNAME " /:g | sed s/+\' //g | sed s/\'\}\) //g)
8675
8776if [[ " $DAQHOST " == * " $HOSTNAME " ]]; then # Check host and daq host line share host name...
8877 # running on the DAQ host, this will restart the ami_client!
10796fi
10897
10998echo " $ami_path " " $amicmd "
99+
110100eval " $ami_path$amicmd &"
You can’t perform that action at this time.
0 commit comments