home *** CD-ROM | disk | FTP | other *** search
/ ftp.eterna.com.au / 2014.06.ftp.eterna.com.au.tar / ftp.eterna.com.au / pub / rc.d.tar.gz / rc.d.tar / rc.d / root < prev    next >
Text File  |  1998-09-23  |  391b  |  25 lines

  1. #! /bin/sh
  2.  
  3. # PROVIDE: root
  4. # REQUIRE: fsck
  5.  
  6. umount -a >/dev/null 2>&1
  7. mount /
  8. rm -f /fastboot        # XXX (root now writeable)
  9.  
  10. if [ -f /etc/rc.subr ]; then
  11.     . /etc/rc.subr
  12. else
  13.     echo "Can't read /etc/rc.subr; aborting."
  14.     exit 1;
  15. fi
  16.  
  17. if [ -f /etc/rc.conf ]; then
  18.     . /etc/rc.conf
  19. fi
  20.  
  21. if [ "$rc_configured" != YES ]; then
  22.     echo "/etc/rc.conf is not configured. Multiuser boot aborted."
  23.     exit 1
  24. fi
  25.