Home | History | Annotate | Line # | Download | only in root
dot.profile revision 1.9
      1 #	$NetBSD: dot.profile,v 1.9 1999/03/30 02:36:05 hubertf Exp $
      2 
      3 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
      4 PATH=${PATH}:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
      5 export PATH
      6 
      7 BLOCKSIZE=1k
      8 export BLOCKSIZE
      9 
     10 HOME=/root
     11 export HOME
     12 
     13 if [ -x /usr/bin/tset ]; then
     14 	eval `/usr/bin/tset -sQ \?$TERM`
     15 fi
     16 
     17 umask 022
     18 
     19 hup(){ kill -HUP `cat /var/run/$1.pid` ; }
     20 ll(){ ls -l $* ; }
     21 x(){ exit ; }
     22 
     23 if [ `/usr/bin/id -u` = 0 ]; then 
     24 	PS1="`hostname -s`# "
     25 else
     26 	PS1="`hostname -s`$ "
     27 fi
     28 
     29 echo "Don't login as root, use the su command."
     30