Moved swapon -a to before the fsck. It isn't possible to run fsck on
moderately sized filesystems on 4MB machines otherwise.
This commit is contained in:
parent
a0181c75dd
commit
d061325a87
6
etc/rc
6
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 /
|
||||
|
Loading…
Reference in New Issue
Block a user