Refine wording

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2021-11-06 21:14:44 +01:00
parent 1489c988d1
commit c8f636d50b
No known key found for this signature in database
GPG key ID: 4CDA6F249DD2B485

View file

@ -775,9 +775,9 @@ getStaticIPv4Settings() {
DHCPChoice=$(whiptail --backtitle "Calibrating network interface" --title "Static IP Address" --menu --separate-output "Do you want to use your current network settings as a static address? \\n DHCPChoice=$(whiptail --backtitle "Calibrating network interface" --title "Static IP Address" --menu --separate-output "Do you want to use your current network settings as a static address? \\n
IP address: ${IPV4_ADDRESS} \\n IP address: ${IPV4_ADDRESS} \\n
Gateway: ${IPv4gw} \\n" "${r}" "${c}" 3\ Gateway: ${IPv4gw} \\n" "${r}" "${c}" 3\
"Yes" "Set static IP to the current address" \ "Yes" "Set static IP using current values" \
"Manual" "Set static IP to a custom IP" \ "No" "Set static IP using custom values" \
"No" "Set static address manually later" 3>&2 2>&1 1>&3) || \ "Skip" "I will set a static IP later, or have already done so" 3>&2 2>&1 1>&3) || \
{ printf " %bCancel was selected, exiting installer%b\\n" "${COL_LIGHT_RED}" "${COL_NC}"; exit 1; } { printf " %bCancel was selected, exiting installer%b\\n" "${COL_LIGHT_RED}" "${COL_NC}"; exit 1; }
case ${DHCPChoice} in case ${DHCPChoice} in
@ -790,7 +790,7 @@ getStaticIPv4Settings() {
setDHCPCD setDHCPCD
;; ;;
"Manual") "No")
# Otherwise, we need to ask the user to input their desired settings. # Otherwise, we need to ask the user to input their desired settings.
# Start by getting the IPv4 address (pre-filling it with info gathered from DHCP) # Start by getting the IPv4 address (pre-filling it with info gathered from DHCP)
# Start a loop to let the user enter their information with the chance to go back and edit it if necessary # Start a loop to let the user enter their information with the chance to go back and edit it if necessary