aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit9
1 files changed, 4 insertions, 5 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 62d63c21..c6ef5d90 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -477,11 +477,10 @@ if [ -f /etc/raidtab -a -f /proc/mdstat ]; then
echo $"Automatic reboot in progress."
reboot -f
fi
-fi
-
-# LVM initialization, take 2 (it could be on top of RAID)
-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
+ # LVM initialization, take 2 (it could be on top of RAID)
+ 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
fi
if [ -x /sbin/devlabel ]; then