fix raiddevices

This commit is contained in:
Tobias Powalowski 2023-01-16 07:20:00 +01:00
parent 5b30f926cb
commit a1033a5e1d

View file

@ -542,7 +542,7 @@ _createmd()
done done
# final step ask if everything is ok? # final step ask if everything is ok?
# shellcheck disable=SC2028 # shellcheck disable=SC2028
_dialog --yesno "Would you like to create ${_RAIDDEV} like this?\n\nLEVEL:\n${_LEVEL}\n\nDEVICES:\n$(while read -r i;do echo "${dev}\n"; done < /tmp/.raid)\nSPARES:\n$(while read -r i;do echo "${dev}\n"; done < tmp/.raid-spare)" 0 0 && _MDFINISH="DONE" _dialog --yesno "Would you like to create ${_RAIDDEV} like this?\n\nLEVEL:\n${_LEVEL}\n\nDEVICES:\n$(while read -r dev;do echo "${dev}\n"; done < /tmp/.raid)\nSPARES:\n$(while read -r dev;do echo "${dev}\n"; done < tmp/.raid-spare)" 0 0 && _MDFINISH="DONE"
done done
_umountall _umountall
_DEVS="$(echo -n "$(cat /tmp/.raid)")" _DEVS="$(echo -n "$(cat /tmp/.raid)")"