Fix case where mdmon isn't available.

master
Seewer Philippe 2009-06-15 23:03:02 -04:00 committed by Warren Togami
parent d3b0f96893
commit 1df0c915c6
1 changed files with 4 additions and 2 deletions

View File

@ -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