You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
dracut_install mdadm
|
|
|
|
inst /etc/passwd
|
|
|
|
inst /etc/group
|
|
|
|
instmods =drivers/md
|
|
|
|
|
|
|
|
if [ -x /lib/udev/vol_id ]; then
|
|
|
|
inst_rules "$moddir/61-mdadm.rules"
|
|
|
|
else
|
|
|
|
inst_rules "$moddir/65-md-incremental.rules"
|
|
|
|
inst_rules 64-md-raid.rules
|
|
|
|
fi
|
|
|
|
|
|
|
|
[ -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
|
|
|
|
|