Fix case where mdmon isn't available.
parent
d3b0f96893
commit
1df0c915c6
|
@ -3,9 +3,11 @@ dracut_install mdadm
|
|||
inst /etc/passwd
|
||||
inst /etc/group
|
||||
instmods =drivers/md
|
||||
[ -x /sbin/mdmon ] && dracut_install mdmon
|
||||
inst_rules "$moddir/70-mdadm.rules"
|
||||
[ -f /etc/mdadm/mdadm.conf ] && inst /etc/mdadm/mdadm.conf /etc/mdadm.conf
|
||||
[ -f /etc/mdadm.conf ] && inst /etc/mdadm.conf
|
||||
if [ -x /sbin/mdmon ] ; then
|
||||
dracut_install mdmon
|
||||
inst_hook pre-pivot 30 "$moddir/mdmon-pre-pivot.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue