#!/bin/bash # This script should be sourced in .bashrc export DIM_DNS_NODE=ihp-pc1.ethz.ch export DIM_HOST_NODE=$HOST.ethz.ch export DIMDIR=/usr/local/dim_v19r9/ export LD_LIBRARY_PATH=/usr/local/qwt-5.2.0/lib:$DIMDIR/linux:$LD_LIBRARY_PATH export PATH=$DIMDIR/linux:/home/daqct3/fact_repos.svn/tools/Scripts:/usr/local/Trolltech/Qt-4.4.3/bin:.:$PATH echo echo Note: hvcontrol needs Evidence configuration server running on $DIM_DNS_NODE echo "To start, log on as user 'daqct3' and execute 'start' script" echo Contact: Oliver Grimm, 32192 echo # Check if repository is a mixed or locally modified version (only for login shell)) # The revision warning is given only once at login. if [[ "${USER}" == "daqct3" ]]; then if shopt -q login_shell; then if [[ `svnversion fact_repos*/drsdaq -n` =~ [:M] ]] then xterm -e "echo 'Warning: drsdaq in repository does not have a single revision number'; echo 'Make an update before starting a run!'; echo 'Contact O.Grimm, T.Kraehenbuehl, or Q.Weitzel in case you need help'; echo 'Hit return to continue'; read;" fi fi fi