aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-08-21 19:45:08 +0000
committerBill Nottingham <notting@redhat.com>2002-08-21 19:45:08 +0000
commit8350e01996a8faa927c3ae8e60b494dfb237a3a2 (patch)
tree55ef6b51822e447c4e83a3b8bbbf438f3dbd4148 /rc.d
parentba8b2188672d90da004f205addd07df6cb1ffb54 (diff)
downloadinitscripts-8350e01996a8faa927c3ae8e60b494dfb237a3a2.tar
initscripts-8350e01996a8faa927c3ae8e60b494dfb237a3a2.tar.gz
initscripts-8350e01996a8faa927c3ae8e60b494dfb237a3a2.tar.bz2
initscripts-8350e01996a8faa927c3ae8e60b494dfb237a3a2.tar.xz
initscripts-8350e01996a8faa927c3ae8e60b494dfb237a3a2.zip
move swap startup to after LVM (#66588)
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 cd3427e6..5180845a 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -150,9 +150,6 @@ if [ "`/sbin/consoletype`" = "vt" -a -x /bin/loadkeys ]; then
fi
fi
-# Start up swapping.
-action $"Activating swap partitions: " swapon -a -e
-
# Set the hostname.
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
@@ -314,6 +311,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