diff options
author | Bill Nottingham <notting@redhat.com> | 2005-08-01 20:04:25 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-08-01 20:04:25 +0000 |
commit | 3a13a534a9a729860b0d18bcdd18f840e083971c (patch) | |
tree | 651ab5934ad82946031259a398d6a61e3629d76e /rc.d | |
parent | 3bee311d6fd4eccf3e031578808d75876b61a3c4 (diff) | |
download | initscripts-3a13a534a9a729860b0d18bcdd18f840e083971c.tar.gz initscripts-3a13a534a9a729860b0d18bcdd18f840e083971c.tar.xz initscripts-3a13a534a9a729860b0d18bcdd18f840e083971c.zip |
don't run multipath unless there's a multipath configuration
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 472f84e6..ad224058 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -488,7 +488,7 @@ if [ -x /sbin/lvm.static -o -x /sbin/multipath -o -x /sbin/dmraid ]; then fi if [ -c /dev/mapper/control ]; then - if [ -x /sbin/multipath ]; then + if [ -f /etc/multipath.conf -x /sbin/multipath ]; then modprobe dm-multipath >/dev/null 2>&1 /sbin/multipath -v 0 fi |