aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-08-01 20:07:26 +0000
committerBill Nottingham <notting@redhat.com>2005-08-01 20:07:26 +0000
commitadd8477507925476112656de105b88464b0b40b6 (patch)
treea39a99278a34d70b2f25a749d3a632c1faca489f
parentdeb6e36c2a74fa84f851b24627fcaf9b3b677c5a (diff)
downloadinitscripts-add8477507925476112656de105b88464b0b40b6.tar
initscripts-add8477507925476112656de105b88464b0b40b6.tar.gz
initscripts-add8477507925476112656de105b88464b0b40b6.tar.bz2
initscripts-add8477507925476112656de105b88464b0b40b6.tar.xz
initscripts-add8477507925476112656de105b88464b0b40b6.zip
don't run multipath unless there's a config for it
-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 23c132fa..ec971f6d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -320,7 +320,7 @@ echo "mkdmnod" | /sbin/nash --quiet >/dev/null 2>&1
[ -n "$SELINUX" ] && restorecon /dev/mapper/control >/dev/null 2>&1
if [ -c /dev/mapper/control ]; then
- if [ -x /sbin/multipath ] ; then
+ if [ -f /etc/multipath.conf -a -x /sbin/multipath ] ; then
modprobe dm-multipath > /dev/null 2>&1
/sbin/multipath -v 0
fi