aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-10-18 19:32:09 +0000
committerBill Nottingham <notting@redhat.com>2002-10-18 19:32:09 +0000
commit06a4616ca179326a89374e11f2294bc87208759c (patch)
tree6eb54dc7391fd76b6456506dc5f96a030a974ea9 /rc.d
parentc5a800e319e4b0793da011aad9d56476cb19c155 (diff)
downloadinitscripts-06a4616ca179326a89374e11f2294bc87208759c.tar
initscripts-06a4616ca179326a89374e11f2294bc87208759c.tar.gz
initscripts-06a4616ca179326a89374e11f2294bc87208759c.tar.bz2
initscripts-06a4616ca179326a89374e11f2294bc87208759c.tar.xz
initscripts-06a4616ca179326a89374e11f2294bc87208759c.zip
merge moving of swapon to after LVM
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 1d1c0c9e..3e79b21b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -160,9 +160,6 @@ if [ "`/sbin/consoletype`" = "vt" ]; then
fi
fi
-# Start up swapping.
-action $"Activating swap partitions: " swapon -a -e
-
# Set the hostname.
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
@@ -342,6 +339,9 @@ if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y
fi
+# Start up swapping.
+action $"Activating swap partitions: " swapon -a -e
+
# Clear mtab
>/etc/mtab