diff options
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.63 1995/04/11 18:36:10 ache Exp $ +# $Id: rc,v 1.64 1995/05/11 21:11:17 jkh Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -65,9 +65,18 @@ trap "echo 'Reboot interrupted'; exit 1" 3 # root must be read/write both for NFS diskless and for VFS LKMs before # proceeding any further. mount -u -o rw / +if [ $? != 0 ]; then + echo "Filesystem mount failed, startup aborted" + exit 1 +fi umount -a >/dev/null 2>&1 + mount -a -t nonfs +if [ $? != 0 ]; then + echo "Filesystem mount failed, startup aborted" + exit 1 +fi # If the machine runs wall CMOS clock (compatible with MSDOS), # activate following line by creating empty file /etc/wall_cmos_clock |