mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00: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()
|
auto_mdadm()
|
||||||
{
|
{
|
||||||
if [[ -e ${DESTDIR}/etc/mdadm.conf ]]; then
|
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
|
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
|
mdadm -Ds >> "${DESTDIR}"/etc/mdadm.conf
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Reference in a new issue