From 17ea2b3b10bd96a4b59cf4d62b826b6e3e39f6fe Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 3 May 2004 21:14:55 +0000 Subject: /dev/mapper/control is a special file, check it accordingly (#121963) --- rc.d/rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1