mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move mdadm dialog to second check
This commit is contained in:
parent
e05d808297
commit
d93bbedbd3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue