aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 4570113c..6c3b0952 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -146,7 +146,7 @@ if [ "`/sbin/consoletype`" == "vt" ]; then
fi
# Start up swapping.
-action $"Activating swap partitions: " swapon -a
+action $"Activating swap partitions: " swapon -a -e
# Set the hostname.
action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
@@ -618,7 +618,7 @@ rm -f /tmp/.X*-lock
rm -f /tmp/.s.PGSQL.*
# Now turn on swap in case we swap to files.
-swapon -a >/dev/null 2>&1
+swapon -a
action $"Enabling swap space: " /bin/true
# Initialize the serial ports.