Last change
on this file since 17409 was 17314, checked in by daqct3, 11 years ago |
Change to Logon script setting of DIM_HOST_NODE
|
File size:
492 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | # This script should be sourced at log on (e.g. in .bashrc)
|
---|
3 |
|
---|
4 | # Set environment variables if not yet set
|
---|
5 | if [ -z "$DIM_DNS_NODE" ]; then export DIM_DNS_NODE=ihp-pc1.ethz.ch; fi
|
---|
6 | if [ -z "$DIM_HOST_NODE" ]; then export DIM_HOST_NODE=`hostname -I`; fi
|
---|
7 | if [ -z "$DIMDIR" ]; then export DIMDIR=/usr/local/dim/; fi
|
---|
8 | if [ -z "$QWTDIR" ]; then export QWTDIR=/usr/local/qwt/; fi
|
---|
9 |
|
---|
10 | #Set paths
|
---|
11 | export LD_LIBRARY_PATH=$QWTDIR/lib:$DIMDIR/linux:$LD_LIBRARY_PATH
|
---|
12 | export PATH=.:$DIMDIR/linux:$PATH
|
---|
Note:
See
TracBrowser
for help on using the repository browser.