summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/rc10
1 files changed, 4 insertions, 6 deletions
diff --git a/etc/rc b/etc/rc
index 365c8e84..1731d89 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.2 1994/09/19 23:13:37 ache Exp $
+# $Id: rc,v 1.30 1994/09/23 07:16:16 rgrimes Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -58,11 +58,9 @@ trap "echo 'Reboot interrupted'; exit 1" 3
swapon -a
-# Check for diskless boot, and remount the root RW.
-a=`mount`
-if [ 0 != `expr "$a" : '^[^/]*:/.* on /'` ] ; then
- mount -u -o rw /
-fi
+# root must be read/write both for NFS diskless and for VFS LKMs before
+# proceeding any further.
+mount -u -o rw /
umount -a >/dev/null 2>&1
mount -a -t nonfs
OpenPOWER on IntegriCloud