summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-10-25 08:23:02 +0000
committerdg <dg@FreeBSD.org>1994-10-25 08:23:02 +0000
commitce24706799ca18bc401f503cd7145cf0b08b969e (patch)
tree3aa1e9fa6ef57ccdd488bcbb24f0f6e6753e004d /etc
parent44d8a340c6b55e2586c2e909816eefecfd173bef (diff)
downloadFreeBSD-src-ce24706799ca18bc401f503cd7145cf0b08b969e.zip
FreeBSD-src-ce24706799ca18bc401f503cd7145cf0b08b969e.tar.gz
Moved swapon -a to before the fsck. It isn't possible to run fsck on
moderately sized filesystems on 4MB machines otherwise.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 33569e6..4703ab2 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.33 1994/09/26 16:52:04 pst Exp $
+# $Id: rc,v 1.34 1994/09/29 17:27:46 pst Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -18,6 +18,8 @@ HOME=/; export HOME
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export PATH
+swapon -a
+
if [ $1x = autobootx ]
then
echo Automatic reboot in progress...
@@ -56,8 +58,6 @@ fi
trap "echo 'Reboot interrupted'; exit 1" 3
-swapon -a
-
# root must be read/write both for NFS diskless and for VFS LKMs before
# proceeding any further.
mount -u -o rw /
OpenPOWER on IntegriCloud