aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit7
1 files changed, 0 insertions, 7 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index fd8ae8df..e48d700b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -178,13 +178,6 @@ init_crypto() {
ret=1
continue
fi
- if [ "$makeswap" = "yes" ]; then
- # init.d/halt should format $src as swap before shutdown
- if [ "$(/sbin/blkid -o value -s TYPE "$src")" != "swap" ]; then
- echo $"$src is not a swap partition"
- makeswap=no
- fi
- fi
if [ -z "$key" -a -x /usr/bin/rhgb-client ] \
&& /usr/bin/rhgb-client --ping ; then
chvt 1