source: tools/Scripts/Logon@ 170

Last change on this file since 170 was 170, checked in by daqct3, 15 years ago
DIM name server location changed to ihp-pc1.ethz.ch
File size: 1.1 KB
Line 
1#!/bin/bash
2
3# This script should be sourced in .bashrc
4
5export DIM_DNS_NODE=ihp-pc1.ethz.ch
6export DIM_HOST_NODE=$HOST.ethz.ch
7export DIMDIR=/usr/local/dim_v19r9/
8
9export LD_LIBRARY_PATH=/usr/local/qwt-5.2.0/lib:$DIMDIR/linux:$LD_LIBRARY_PATH
10export PATH=$DIMDIR/linux:/home/daqct3/fact_repos.svn/tools/Scripts:/usr/local/Trolltech/Qt-4.4.3/bin:.:$PATH
11
12echo
13echo Note: hvcontrol needs Evidence configuration server running on $DIM_DNS_NODE
14echo "To start, log on as user 'daqct3' and execute 'start' script"
15echo Contact: Oliver Grimm, 32192
16echo
17
18# Check if repository is a mixed or locally modified version (only for login shell))
19# The revision warning is given only once at login.
20
21if [[ "${USER}" == "daqct3" ]]; then
22if shopt -q login_shell; then
23if [[ `svnversion fact_repos*/drsdaq -n` =~ [:M] ]]
24 then
25 xterm -e "echo 'Warning: drsdaq in repository does not have a single revision number';
26 echo 'Make an update before starting a run!';
27 echo 'Contact O.Grimm, T.Kraehenbuehl, or Q.Weitzel in case you need help';
28 echo 'Hit return to continue';
29 read;"
30fi
31fi
32fi
Note: See TracBrowser for help on using the repository browser.