home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 204.img / SC386BN1.TD0 / etc / rc.d / 0 / sysinit
Encoding:
Text File  |  1988-05-20  |  586 b   |  24 lines

  1. :
  2. #    @(#) sysinit.sh 1.1 88/05/17 
  3. #
  4. #    Copyright (C) The Santa Cruz Operation, 1985.
  5. #    This Module contains Proprietary Information of
  6. #    The Santa Cruz Operation, Microsoft Corporation
  7. #    and AT&T, and should be treated as Confidential.
  8. #
  9. #    /etc/rc.d/0/sysinit - system initialization after normal boot
  10. #
  11.  
  12. # clean out mount table
  13. > /etc/mnttab; chmod 644 /etc/mnttab
  14.  
  15. # utmp is record of users logged in
  16. > /etc/utmp; chmod 644 /etc/utmp
  17.  
  18. # set system clock
  19. eval /etc/asktime $AUTOFLAG $AUTOBOOT
  20.  
  21. # initialize mount table
  22. # n.b. this must be done after clock is set
  23. echo 'root /' | setmnt
  24.