aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-03-22 15:56:17 +0000
committerErik Troan <ewt@redhat.com>2001-03-22 15:56:17 +0000
commitfaea36aec71f57296203e0393027dec73e79ca75 (patch)
tree52887ce5a949ee21f556728cdeb097996d799b50 /rc.d
parentbf636552fbc73f0127eda62fc8b4e16a4b0605d9 (diff)
downloadinitscripts-faea36aec71f57296203e0393027dec73e79ca75.tar
initscripts-faea36aec71f57296203e0393027dec73e79ca75.tar.gz
initscripts-faea36aec71f57296203e0393027dec73e79ca75.tar.bz2
initscripts-faea36aec71f57296203e0393027dec73e79ca75.tar.xz
initscripts-faea36aec71f57296203e0393027dec73e79ca75.zip
1) use -e on the first swapon
2) we don't need to redirect stderr on second swapon anymore
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.