]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
multipath: use new "-B" parameter
authorHarald Hoyer <harald@redhat.com>
Wed, 2 Feb 2011 12:34:34 +0000 (13:34 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 2 Feb 2011 12:56:04 +0000 (13:56 +0100)
modules.d/90multipath/multipathd.sh

index 72ca2ef383562397552d3de88bae5bce8b6cd168..24daf82087bf81f9b5d8fcf2d09b416c83035ac8 100755 (executable)
@@ -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