mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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 d726bc2863)
This commit is contained in:
parent
65b8215cc3
commit
337c900438
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue