diff options
| author | Pierre Pronchery <pierre@freebsdfoundation.org> | 2023-10-02 18:34:48 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2023-10-13 16:23:01 +0000 |
| commit | ac78e3e9c581ac3b695adeec1ae312d619a1402b (patch) | |
| tree | 6597abd64a53e09c56157eb9a0a4d4b32905cbe0 /usr.sbin | |
| parent | a6d202077deedcdadc589e10399119d52f7cf71a (diff) | |
Diffstat (limited to 'usr.sbin')
| -rwxr-xr-x | usr.sbin/bsdinstall/scripts/finalconfig | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/bsdinstall/scripts/finalconfig b/usr.sbin/bsdinstall/scripts/finalconfig index a1c0d804754f..d7c4a1569d39 100755 --- a/usr.sbin/bsdinstall/scripts/finalconfig +++ b/usr.sbin/bsdinstall/scripts/finalconfig @@ -35,9 +35,9 @@ BSDCFG_SHARE="/usr/share/bsdconfig" while true; do exec 5>&1 REVISIT=$(bsddialog --backtitle "$OSNAME Installer" \ - --title "Final Configuration" --no-cancel --menu \ + --title "Final Configuration" --ok-label "Select" \ + --cancel-label "Finish" --default-no --menu \ "Setup of your $OSNAME system is nearly complete. You can now modify your configuration choices. After this screen, you will have an opportunity to make more complex changes using a shell." 0 0 0 \ - "Exit" "Apply configuration and exit installer" \ "Add User" "Add a user to the system" \ "Root Password" "Change root password" \ "Hostname" "Set system hostname" \ @@ -49,6 +49,10 @@ while true; do retval=$? exec 5>&- + if [ $retval -ne $BSDDIALOG_OK ]; then + break + fi + case "$REVISIT" in "Add User") bsdinstall adduser @@ -74,8 +78,5 @@ while true; do "Handbook") bsdinstall docsinstall ;; - *) - break - ;; esac done |
