# /etc/profile
trap "" 1 2 3
 
readonly LOGNAME
 
# Automatic logout, include in export line if uncommented
# TMOUT=120
 
# The MAILMSG will be printed by the shell every MAILCHECK seconds
# (default 600) if there is mail in the MAIL system mailbox.
MAIL=/var/spool/mail/$LOGNAME                   # changed on 9.9.99
MAILMSG="[YOU HAVE NEW MAIL]"
 
export PS1="[\u@\h \W]\\$ "             #
CFINPUTS=/etc/cfengine/
export CFINPUTS
export INPUTRC=/etc/inputrc             #
 
for i in /etc/profile.d/*.sh ; do       #
        if [ -x $i ]; then              #
                . $i                    #
        fi                              #
done                                    #
unset i                                 #
 
if [ "$LOGNAME" = "root" ]; then                        # added on 24.9.99
   PATH=/usr/alt/sysdep/bin:/usr/sbin:/sbin:/usr/bin:\
/bin:/usr/bin/X11:/usr/local/bin
   export PATH
   LESSCHARSET=latin1; export LESSCHARSET
   umask 022
 
fi
 
if [ "$LOGNAME" != "root" ]; then               # changed on 24.9.99
   ARCH=`arch`; export ARCH                     # changed on 9.9.99
 
   #
   # modified by Chris 11.02.00 for use
   function use {
        builtin . `/p/setup/use/bin/use bash $@`
   }
   #
   #
 
   APPLDIR=/p/appl; export APPLDIR
   DOC=$APPLDIR/doc; export DOC
   MANPATH=$MANPATH:/usr/share/catman:/usr/catman:\
/p/man; export MANPATH  # changed on 9.12.99
   PAGER=less; export PAGER
   PRINTER=csc_text; export PRINTER
   LESS="-Men"; export LESS
   LESSCHARSET=latin1; export LESSCHARSET
 
   Arch=$ARCH; export Arch
 
 
   XFILESEARCHPATH=/p/X/lib/X11/app-defaults/%N:\
/p/X5/lib/X11/app-defaults/%N:/usr/lib/X11/app-defaults/%N; export XFILESEARCHPATH
   MP_SET_NUMTHREADS=2; export MP_SET_NUMTHREADS
   MPC_NUM_THREADS=2; export MPC_NUM_THREADS
 
   umask 077
 
fi
trap 1 2 3
Topic revision: r2 - 2006-09-20 - AnssiYliJyra
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback