dmraid: switch to rd_NO_MDIMSM, if no mdadm installed

master
Harald Hoyer 2010-08-23 14:42:33 +02:00
parent 4c77612245
commit dab1a1dc99
1 changed files with 6 additions and 0 deletions

View File

@ -3,3 +3,9 @@ if getarg rd_NO_DM || getarg nodmraid; then
info "rd_NO_DM: removing DM RAID activation"
udevproperty rd_NO_DM=1
fi

if [ ! -x /sbin/mdadm ] || getarg rd_NO_MDIMSM || getarg noiswmd; then
info "rd_NO_MDIMSM: no MD RAID for imsm/isw raids"
udevproperty rd_NO_MDIMSM=1
fi