#! /bin/sh
case `uname -n` in
   h1dmt2)
      PROCMGT_FILE_PREFIX=/usr/share/gds/procmgt/LHO_RedundantDQ
      ;;
   h1dmt3)
      PROCMGT_FILE_PREFIX=/usr/share/gds/procmgt/LHO_TestDQ
      ;;
   h1dmt*)
      PROCMGT_FILE_PREFIX=/usr/share/gds/procmgt/LHO_MonitorDQ
      ;;
   l1dmt2)
      PROCMGT_FILE_PREFIX=/usr/share/gds/procmgt/LLO_RedundantDQ
      ;;
   l1dmt3)
      PROCMGT_FILE_PREFIX=/usr/share/gds/procmgt/LLO_TestDQ
      ;;
   l1dmt*)
      PROCMGT_FILE_PREFIX=/usr/share/gds/procmgt/LLO_MonitorDQ
      ;;
   o3replay)
      domain=`grep '^search ' /etc/resolv.conf \
      	    | sed -e 's,^search  *,,g' -e 's, .*$,,g'`
      if [ "$domain" = "dcs.ligo-wa.caltech.edu" ]; then
         PROCMGT_FILE_PREFIX=/home/jzweizig/gds-dev/share/gds/procmgt/LHO_Replay
      else
         PROCMGT_FILE_PREFIX=/home/o3replay/gds-dev/share/gds/procmgt/LLO_Replay
      fi
      PROCMGT_RUN_USER=o3replay
      ;;
esac
