From c49bdbd7fbe36356d3980b88d2fd1f8e93f650c2 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Tue, 15 May 2001 21:28:43 +0000 Subject: [PATCH] swapon -a before fsck is run --- src/etc/rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index 294bd6dc..9743922b 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.169 2001/05/03 21:56:57 deraadt Exp $ +# $OpenBSD: rc,v 1.170 2001/05/15 21:28:43 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -64,6 +64,8 @@ for dev in 0 1 2 3; do fi done +swapon -a + if [ -e /fastboot ]; then echo "Fast boot: skipping disk checks." elif [ $1x = autobootx ]; then @@ -102,8 +104,6 @@ fi trap "echo 'Boot interrupted.'; exit 1" 3 -swapon -a - umount -a >/dev/null 2>&1 mount -a -t nonfs mount -uw / # root on nfs requires this, others aren't hurt