projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcdf5c8
)
multipath: remove multipath udev rules, if no multipath.conf was found
author
Harald Hoyer
<harald@redhat.com>
Thu, 27 May 2010 12:34:02 +0000
(14:34 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 27 May 2010 12:34:02 +0000
(14:34 +0200)
modules.d/90multipath/multipathd.sh
patch
|
blob
|
history
diff --git
a/modules.d/90multipath/multipathd.sh
b/modules.d/90multipath/multipathd.sh
index
851c08e
..
e26ab84
100755
(executable)
--- a/
modules.d/90multipath/multipathd.sh
+++ b/
modules.d/90multipath/multipathd.sh
@@
-1,7
+1,9
@@
#!/bin/sh
if [ -e /etc/multipath.conf ]; then
- modprobe dm-multipath
- multipathd
+ modprobe dm-multipath
+ multipathd
+else
+ rm /etc/udev/rules.d/??-multipath.rules 2>/dev/null
fi