aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-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