From: Harald Hoyer Date: Wed, 2 Feb 2011 12:34:34 +0000 (+0100) Subject: multipath: use new "-B" parameter X-Git-Tag: 008~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76c4613abcc402e01e6d009eb5f205220bb7d3c7;p=thirdparty%2Fdracut-ng.git multipath: use new "-B" parameter --- diff --git a/modules.d/90multipath/multipathd.sh b/modules.d/90multipath/multipathd.sh index 72ca2ef38..24daf8208 100755 --- a/modules.d/90multipath/multipathd.sh +++ b/modules.d/90multipath/multipathd.sh @@ -2,9 +2,9 @@ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh -if [ -e /etc/multipath.conf -a -e /etc/multipath/wwids ]; then +if [ -e /etc/multipath.conf ]; then modprobe dm-multipath - multipathd + multipathd -B || multipathd else rm /etc/udev/rules.d/??-multipath.rules 2>/dev/null fi