home *** CD-ROM | disk | FTP | other *** search
/ Chip 1994 February / CHIP0294.ISO / digital / test / linux / bootdisk / rootdisk.18 / .profile < prev    next >
Encoding:
Text File  |  1994-06-09  |  707 b   |  31 lines

  1. umask 022
  2.  
  3. if [ ! -f /bin/date -a -f /bin/date.gz ]; then
  4.     gzip -d /bin/date.gz
  5. fi
  6.  
  7. # Just to detect those who always tell you "I didn't do that" ;-)
  8. echo "$LOGNAME: logged in at `date` " >> /tmp/.loglogins 2>&1
  9.  
  10. if [ ! -f /LSTLIB/SETUP ]; then
  11.     echo "Rufe setup auf ..."
  12.     setup
  13. fi
  14.  
  15. if [ "$LOGNAME" = "install" -o "$LOGNAME" = "expert" ]; then
  16.     # Newbie or expert who wants to install
  17.     # read the setup ...
  18.     . /LSTLIB/SETUP 
  19.     # and now call the installation procedure
  20.     if [ "$LOGNAME" = "expert" ]; then
  21.         EXPERT='-expert'
  22.     fi
  23.     doinstall $EXPERT $USEDIALOG
  24.     exit
  25. else
  26.     # Who is that ? root who wants to disturb us ? Warn him !
  27.     echo
  28.     echo "Wer sich als root einloggt sollte wissen, was er tut ;-)"
  29.     echo
  30. fi
  31.