mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
fix mdadm reset call
This commit is contained in:
parent
390d0b2e26
commit
58e8c07a63
1 changed files with 1 additions and 1 deletions
|
@ -311,8 +311,8 @@ _umountall()
|
||||||
|
|
||||||
_stopmd()
|
_stopmd()
|
||||||
{
|
{
|
||||||
|
_DISABLEMD=""
|
||||||
if grep -q ^md /proc/mdstat 2>/dev/null; then
|
if grep -q ^md /proc/mdstat 2>/dev/null; then
|
||||||
_DISABLEMD=""
|
|
||||||
_dialog --defaultno --yesno "Setup detected already running software raid devices...\n\nDo you want to delete ALL of them completely?\nWARNING: ALL DATA WILL BE LOST!" 0 0 && _DISABLEMD=1
|
_dialog --defaultno --yesno "Setup detected already running software raid devices...\n\nDo you want to delete ALL of them completely?\nWARNING: ALL DATA WILL BE LOST!" 0 0 && _DISABLEMD=1
|
||||||
if [[ -n "${_DISABLEMD}" ]]; then
|
if [[ -n "${_DISABLEMD}" ]]; then
|
||||||
_umountall
|
_umountall
|
||||||
|
|
Loading…
Reference in a new issue