aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 55e53a85..cfe552b7 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -543,7 +543,7 @@ if [ -f /etc/raidtab ]; then
reboot -f
fi
# LVM2 initialization, take 2
- if [ -f /dev/mapper/control -a -x /sbin/lvm.static ]; then
+ if [ -c /dev/mapper/control -a -x /sbin/lvm.static ]; then
action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan --mknodes && /sbin/lvm.static vgchange -a y
fi
# LVM initialization, take 2 (it could be on top of RAID)