mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
stay on menupoint
This commit is contained in:
parent
b79cace8ae
commit
38daeae110
2 changed files with 6 additions and 1 deletions
|
@ -201,11 +201,13 @@ _mainmenu() {
|
|||
case $(cat "${_ANSWER}") in
|
||||
"1") if [[ "${_DESTDIR}" == "/" ]]; then
|
||||
_abort_running_system
|
||||
_NEXTITEM=1
|
||||
else
|
||||
_prepare_storagedrive
|
||||
fi ;;
|
||||
"2") if [[ "${_DESTDIR}" == "/" ]]; then
|
||||
_abort_running_system
|
||||
_NEXTITEM=2
|
||||
else
|
||||
_install_packages
|
||||
fi ;;
|
||||
|
|
|
@ -112,7 +112,10 @@ _bcfs_raid_level() {
|
|||
else
|
||||
# replicas
|
||||
#shellcheck disable=SC2086
|
||||
_dialog --no-cancel --title " Replication Level " --menu "" 9 30 5 "2" "Level 2" "3" "Level 3" "> CUSTOM" "Custom Level" 2>"${_ANSWER}" || return 1
|
||||
_dialog --no-cancel --title " Replication Level " --menu "" 9 30 5 \
|
||||
"2" "Level 2" \
|
||||
"3" "Level 3" \
|
||||
"> CUSTOM" "Custom Level" 2>"${_ANSWER}" || return 1
|
||||
_BCFS_REP_COUNT=$(cat "${_ANSWER}")
|
||||
if [[ ${_BCFS_REP_COUNT} == "> CUSTOM" ]]; then
|
||||
_dialog --inputbox "Enter custom replication level (number):" 8 65 \
|
||||
|
|
Loading…
Reference in a new issue