From cf051abb66268add53ec06ab3d7f4600a914660c Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Mon, 7 Sep 2020 19:24:32 +0200 Subject: [PATCH] fix yesno on some questions (#1419) Signed-off-by: enoch85 --- network/static_ip.sh | 2 +- nextcloud-startup-script.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/network/static_ip.sh b/network/static_ip.sh index fc54ceaf..34c2e7ba 100644 --- a/network/static_ip.sh +++ b/network/static_ip.sh @@ -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 diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh index 818e61b7..af73db08 100644 --- a/nextcloud-startup-script.sh +++ b/nextcloud-startup-script.sh @@ -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..."