fix yesno on some questions (#1419)

Signed-off-by: enoch85 <github@hanssonit.se>
This commit is contained in:
Daniel Hansson 2020-09-07 19:24:32 +02:00 committed by GitHub
parent 1857c63ec5
commit cf051abb66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ $DNS2
DNSs="$DNS1,$DNS2"
fi
if yesno_box_yes "Do you want to set your own nameservers?"
if yesno_box_no "Do you want to set your own nameservers?"
then
# Loop until user is happy with the nameserver 1
echo

View File

@ -161,7 +161,7 @@ zpool_import_if_missing
if [ "$KEYBOARD_LAYOUT" = "us" ]
then
clear
print_text_in_color "$ICyan" "Current keyboard layout is English (United States)."
msg_box "Current keyboard layout is English (United States)."
if ! yesno_box_yes "Do you want to change keyboard layout?"
then
print_text_in_color "$ICyan" "Not changing keyboard layout..."
@ -332,7 +332,7 @@ Please report any issues to: $ISSUES"
clear
# Change Timezone
print_text_in_color "$ICyan" "Current timezone is $(cat /etc/timezone)"
msg_box "Current timezone is $(cat /etc/timezone)"
if ! yesno_box_yes "Do you want to change the timezone?"
then
print_text_in_color "$ICyan" "Not changing timezone..."