git: 970ea0b2cb69 - main - bsdinstall: draw attention to new network config options

From: Mike Karels <karels_at_FreeBSD.org>
Date: Wed, 27 Mar 2024 20:20:37 UTC
The branch main has been updated by karels:

URL: https://cgit.FreeBSD.org/src/commit/?id=970ea0b2cb6942b4fba088031e3b1968e056d6c9

commit 970ea0b2cb6942b4fba088031e3b1968e056d6c9
Author:     Mike Karels <karels@FreeBSD.org>
AuthorDate: 2024-03-27 20:10:43 +0000
Commit:     Mike Karels <karels@FreeBSD.org>
CommitDate: 2024-03-27 20:20:26 +0000

    bsdinstall: draw attention to new network config options
    
    The network configuration options have changed in bsdinstall, with
    an Auto option to proceed directly to DHCP and IPv6 autoconfig (which
    is the default) as well as Manual (the old mode).  For users like me
    that were used to hitting return automatically to select an interface,
    but want manual configuration, attempt to call out the difference:
    Change the menu caption to say "Please select a network interface
    and configuration mode:" and not just an interface.
    
    Reviewed by:    jrtc27
---
 usr.sbin/bsdinstall/scripts/netconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/scripts/netconfig b/usr.sbin/bsdinstall/scripts/netconfig
index 130db2937234..0f23ae134cb6 100755
--- a/usr.sbin/bsdinstall/scripts/netconfig
+++ b/usr.sbin/bsdinstall/scripts/netconfig
@@ -76,7 +76,7 @@ exec 5>&1
 INTERFACE=$(echo $BSDDIALOG_ITEMS | xargs -o bsddialog \
     --backtitle "$OSNAME Installer" --title 'Network Configuration' \
     --ok-label 'Auto' --extra-button --extra-label 'Manual' \
-    --menu 'Please select a network interface to configure:' 0 0 0 2>&1 1>&5)
+    --menu 'Please select a network interface and configuration mode:' 0 0 0 2>&1 1>&5)
 # xargs collapses exit codes to 0/1 (ignoring signals and 255), so exploit
 # bsddialog output being empty when cancelling to distinguish Manual (Extra)
 # from Cancel.