diff --git a/usr/lib/archboot/installer/autoconfiguration.sh b/usr/lib/archboot/installer/autoconfiguration.sh index 5a446d652..6b3497926 100644 --- a/usr/lib/archboot/installer/autoconfiguration.sh +++ b/usr/lib/archboot/installer/autoconfiguration.sh @@ -44,8 +44,8 @@ auto_swap () { auto_mdadm() { if [[ -e ${DESTDIR}/etc/mdadm.conf ]]; then - DIALOG --infobox "Enable mdadm settings on installed system ..." 3 70 if grep -q ^md /proc/mdstat 2>/dev/null; then + DIALOG --infobox "Enable mdadm settings on installed system ..." 3 70 mdadm -Ds >> "${DESTDIR}"/etc/mdadm.conf fi sleep 1