home *** CD-ROM | disk | FTP | other *** search
/ Chip 1994 February / CHIP0294.ISO / digital / test / linux / bootdisk / rootdisk.18 / etc / rc.d / rc.S < prev   
Encoding:
Text File  |  1994-06-08  |  667 b   |  29 lines

  1. # /etc/rc.S
  2. #
  3. # These commands are executed at boot time by init(8).
  4. # User customization should go in /etc/rc.local.
  5.  
  6. PATH=/sbin:/usr/sbin:/bin:/usr/bin
  7.  
  8. # enable swapping
  9. /sbin/swapon -a
  10.  
  11. # Start update.
  12. /sbin/update &
  13.  
  14. # remove /etc/mtab* so that mount will create it with a root entry
  15. /bin/rm -f /etc/mtab* /etc/nologin /etc/utmp
  16.  
  17. # Looks like we have to create this.
  18. cat /dev/null >> /etc/utmp
  19.  
  20. # mount file systems in fstab (and create an entry for /)
  21. # but not NFS because TCP/IP is not yet configured
  22. /sbin/mount -avt nonfs
  23.  
  24. # Configure the system clock. See /usr/doc/ktzset. Replaces /sbin/clock -s
  25. if [ -x /sbin/kern_tzset ]; then
  26.   /sbin/kern_tzset -u
  27. fi
  28.  
  29.