mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
'use environment mdadm to write config file'
This commit is contained in:
parent
b085cc356e
commit
8f87b0a6f2
1 changed files with 1 additions and 1 deletions
|
@ -1368,7 +1368,7 @@ auto_mdadm()
|
|||
if [ -e $DESTDIR/etc/mdadm.conf ];then
|
||||
if [ "$(cat /proc/mdstat | grep ^md)" ]; then
|
||||
DIALOG --infobox "Adding raid setup to $DESTDIR/etc/mdadm.conf ..." 4 40
|
||||
chroot ${DESTDIR} mdadm -Ds >> $DESTDIR/etc/mdadm.conf
|
||||
mdadm -Ds >> $DESTDIR/etc/mdadm.conf
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue