home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / adduser / examples / adduser.local.conf.examples / profile < prev   
Encoding:
Text File  |  2006-07-10  |  924 b   |  32 lines

  1. #########################################################################
  2. #        /etc/profile: System-wide initialisation file for bash         #
  3. #########################################################################
  4.  
  5. # This script file is executed by bash(1) for login shells.  By default,
  6. # it executes /etc/bash.bashrc and ~/.bashrc, as well as performing login-
  7. # only functions.
  8. #
  9. # [JNZ] Modified 23-Sep-2004
  10. #
  11. # Written by John Zaitseff and released into the public domain.
  12.  
  13. if [ -r /etc/bash.bashrc ]; then . /etc/bash.bashrc; fi
  14. if [ -r $HOME/.bashrc ];    then . $HOME/.bashrc;    fi
  15.  
  16. # Display a verse from the Bible using verse(1)
  17.  
  18. if [ ! -f $HOME/.hushlogin -a ! -f $HOME/.hushverse ]; then
  19.     if [ $(type -p verse) ]; then
  20.         echo
  21.         verse
  22.     fi
  23. fi
  24.  
  25. # Turn on talk(1) messages, unless the user does not want this
  26.  
  27. if [ ! -f $HOME/.hushlogin -a ! -f $HOME/.hushtalk ]; then
  28.     mesg y
  29. fi
  30.  
  31. echo
  32.