Skip to content

Commit

Permalink
Merge pull request #227 from laurentroque/master
Browse files Browse the repository at this point in the history
drp node bypass for UED machines
  • Loading branch information
laurentroque authored Dec 10, 2024
2 parents f1b9cdc + afa21b6 commit 203187b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/restartdaq
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,13 @@ else
PROCMGR="/reg/g/pcds/dist/pds/$HUTCH/current/tools/procmgr/procmgr"
fi

IS_DAQ_HOST=$(netconfig search "$AIMHOST"-$DAQNETWORK --brief | grep -c $DAQNETWORK)
# If UED machine; bypass drp node requirement, else; check for drp node
if [ "$HUTCH" == "ued" ]; then
IS_DAQ_HOST=1
else
IS_DAQ_HOST=$(netconfig search "$AIMHOST"-$DAQNETWORK --brief | grep -c $DAQNETWORK)
fi

if [ "$IS_DAQ_HOST" == 0 ]; then
HOSTS=$(netconfig search "$HUTCH"-*-$DAQNETWORK --brief | sed s/-$DAQNETWORK//g)
WORKINGHOSTS=''
Expand Down

0 comments on commit 203187b

Please sign in to comment.