home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / mint / init_5 / rc < prev    next >
Encoding:
Text File  |  1993-08-03  |  766 b   |  41 lines

  1. #!/bin/sh
  2. # This is run at multi-user startup.
  3. #
  4. # Edit it to suit your taste.
  5. #
  6. # Really, some of this stuff should be in rc.local which should be called
  7. # from this script.
  8. #
  9. # S.R.Usher 29/12/91
  10. #
  11.  
  12. /bin/date
  13. if [ -f /etc/single ] ; then
  14.     rm /etc/single
  15.     echo "Multiuser reboot in progress ..."
  16. else
  17.     echo "Automatic reboot in progress ..."
  18. fi
  19.  
  20. # Clear the /tmp directory.
  21.  
  22. /bin/rm /tmp/* >& /dev/null ; echo "clearing /tmp"
  23.  
  24. echo -n "standard daemons:"
  25.  
  26. # Start up the update daemon. (This may be useful if there are any file systems
  27. # which may need sync()ing in the future. You never know, someone might write
  28. # one!)
  29.  
  30. if [ -f /usr/lib/update ] ; then
  31.     ( /usr/lib/update & ) >& /dev/null ; echo -n " update"
  32. fi
  33.  
  34. echo "."
  35.  
  36. /bin/sh /etc/rc.local
  37.  
  38. /bin/date
  39.  
  40. exit
  41.