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 |
|
---|
5 | export DIM_DNS_NODE=ihp-pc1.ethz.ch
|
---|
6 | export DIM_HOST_NODE=$HOST.ethz.ch
|
---|
7 | export DIMDIR=/usr/local/dim_v19r9/
|
---|
8 |
|
---|
9 | export LD_LIBRARY_PATH=/usr/local/qwt-5.2.0/lib:$DIMDIR/linux:$LD_LIBRARY_PATH
|
---|
10 | export PATH=$DIMDIR/linux:/home/daqct3/fact_repos.svn/tools/Scripts:/usr/local/Trolltech/Qt-4.4.3/bin:.:$PATH
|
---|
11 |
|
---|
12 | echo
|
---|
13 | echo Note: hvcontrol needs Evidence configuration server running on $DIM_DNS_NODE
|
---|
14 | echo "To start, log on as user 'daqct3' and execute 'start' script"
|
---|
15 | echo Contact: Oliver Grimm, 32192
|
---|
16 | echo
|
---|
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 |
|
---|
21 | if [[ "${USER}" == "daqct3" ]]; then
|
---|
22 | if shopt -q login_shell; then
|
---|
23 | if [[ `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;"
|
---|
30 | fi
|
---|
31 | fi
|
---|
32 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.