Skip to content

Commit e4776fe

Browse files
committed
fix: Diagnostics menu. Enhance disk selection dialog
1 parent d0d95b7 commit e4776fe

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎installer-factory/initramfs-tools/scripts/init-premount/cuos-installer‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ INNEREOF
147147
#else
148148
# shellcheck disable=SC2086
149149
target=$(dialog --clear --backtitle "Installer" \
150-
--title "Select Target Disk" \
151-
--radiolist "Select disk to overwrite:" 20 70 10 \
150+
--title "Select Target Disk. The disk will be OVERWRITTEN." \
151+
--no-cancel \
152+
--radiolist "\nUse up/down keys, select with space key and hit enter:\n " 15 70 5 \
152153
$DISKS 3>&1 1>&2 2>&3)
153154
clear
154155
#fi

‎system/cuos/dialog-maintenance.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ install_menu() {
5353
"System Installation" \
5454
"\nSelect an option:\n " \
5555
20 55 7 \
56-
"${extra[@]}" \
56+
"${extra[@]+"${extra[@]}"}" \
5757
"host" "Change Hostname: $(hostname -s)" \
5858
"net" "Configure Network${ipaddress:+": ${ipaddress}"}" \
5959
- " " \
6060
"act" "System Actions" \
61-
"diagnostics_menu" "Diagnostics" \
61+
"diag" "Diagnostics" \
6262
- " " \
6363
"exit" "\Z5Continue Installation\Z0")" || return 1
6464
case "$choice" in

0 commit comments

Comments
 (0)