aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-05-03 21:14:55 +0000
committerBill Nottingham <notting@redhat.com>2004-05-03 21:14:55 +0000
commit17ea2b3b10bd96a4b59cf4d62b826b6e3e39f6fe (patch)
tree9d40b542ba77513df18b5d591b4cff9ce09edb74 /rc.d/rc.sysinit
parent95e4ff38f1d575aa66d551144cca35379c6cae5c (diff)
downloadinitscripts-17ea2b3b10bd96a4b59cf4d62b826b6e3e39f6fe.tar
initscripts-17ea2b3b10bd96a4b59cf4d62b826b6e3e39f6fe.tar.gz
initscripts-17ea2b3b10bd96a4b59cf4d62b826b6e3e39f6fe.tar.bz2
initscripts-17ea2b3b10bd96a4b59cf4d62b826b6e3e39f6fe.tar.xz
initscripts-17ea2b3b10bd96a4b59cf4d62b826b6e3e39f6fe.zip
/dev/mapper/control is a special file, check it accordingly (#121963)
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)