diff options
author | Bill Nottingham <notting@redhat.com> | 2004-05-03 21:14:55 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-05-03 21:14:55 +0000 |
commit | 17ea2b3b10bd96a4b59cf4d62b826b6e3e39f6fe (patch) | |
tree | 9d40b542ba77513df18b5d591b4cff9ce09edb74 /rc.d | |
parent | 95e4ff38f1d575aa66d551144cca35379c6cae5c (diff) | |
download | initscripts-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')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
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) |