mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3843
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