aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranco Fichtner <franco@opnsense.org>2025-01-23 11:27:09 +0000
committerMark Johnston <markj@FreeBSD.org>2025-01-28 16:00:12 +0000
commitbe53f732663cbe9c1c4f3e7310cfa82bbe32da90 (patch)
treecdf5ed72d5fb5f27df92efcd6566e44b54f5e49d
parent3ba946aebf747e12da4fb22ee0e45ee0e3a233ee (diff)
bsdinstall: hook up help line and prompt for ZFS disk selection
Previously we were passing the wrong variable names for the prompt and help line, so the intended action wasn't clear to the user. Reviewed by: jhb, markj MFC after: 3 days See also: https://github.com/opnsense/installer/issues/22 Pull Request: https://github.com/freebsd/freebsd-src/pull/1579 (cherry picked from commit d726bc286325dd7093b83c6ebcbaa768c687d825)
-rwxr-xr-xusr.sbin/bsdinstall/scripts/zfsboot8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index 4f3c9719dde0..2b118e33ba36 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -689,17 +689,17 @@ dialog_menu_layout()
done
eval f_dialog_checklist_size height width rows \
- \"\$title\" \"\$btitle\" \"\$prompt\" \
- \"\$hline\" $disk_check_list
+ \"\$title\" \"\$btitle\" \"\$disk_prompt\" \
+ \"\$disk_hline\" $disk_check_list
selections=$( eval $DIALOG \
--title \"\$DIALOG_TITLE\" \
--backtitle \"\$DIALOG_BACKTITLE\" \
--separate-output \
- --hline \"\$hline\" \
+ --hline \"\$disk_hline\" \
--ok-label \"\$msg_ok\" \
--cancel-label \"\$msg_back\" \
- --checklist \"\$prompt\" \
+ --checklist \"\$disk_prompt\" \
$height $width $rows \
$disk_check_list \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD