diff options
author | Erik Troan <ewt@redhat.com> | 2001-03-22 15:56:17 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-03-22 15:56:17 +0000 |
commit | faea36aec71f57296203e0393027dec73e79ca75 (patch) | |
tree | 52887ce5a949ee21f556728cdeb097996d799b50 /rc.d/rc.sysinit | |
parent | bf636552fbc73f0127eda62fc8b4e16a4b0605d9 (diff) | |
download | initscripts-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/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 4 |
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. |