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
This commit is contained in:
Mike Karels 2024-03-27 15:10:43 -05:00
parent d5aead83df
commit 970ea0b2cb

View file

@ -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.