2 export OMD_SITE=###SITE###
3 export OMD_ROOT=###ROOT###
5 PATH=$OMD_ROOT/local/bin:$OMD_ROOT/bin:$OMD_ROOT/local/lib/perl5/bin:$PATH
6 export LD_LIBRARY_PATH=$OMD_ROOT/local/lib:$OMD_ROOT/lib
8 # enable local perl env
9 export PERL5LIB="$OMD_ROOT/local/lib/perl5/lib/perl5:$OMD_ROOT/lib/perl5/lib/perl5:$PERL5LIB"
10 export PATH="$OMD_ROOT/lib/perl5/bin:$PATH"
11 export MODULEBUILDRC="$OMD_ROOT/.modulebuildrc"
12 export PERL_MM_OPT=INSTALL_BASE="$OMD_ROOT/local/lib/perl5/"
13 export MANPATH="$OMD_ROOT/share/man:$MANPATH"
14 export PYTHONPATH="$OMD_ROOT/lib/python:$OMD_ROOT/local/lib/python"
15 export MAILRC="$OMD_ROOT/etc/mail.rc"
18 if [ -f $OMD_ROOT/etc/environment ]
20 eval $(egrep -v '^[[:space:]]*(#|$)' < $OMD_ROOT/etc/environment | sed 's/^/export /')
23 # Only load bashrc when in a bash shell and not loaded yet.
24 # The load once is ensured by the variable $BASHRC.
25 if [ "$BASH" -a -s $OMD_ROOT/.bashrc -a -z "$BASHRC" ]; then