From c8f7bcbec9c6c3ee5160d8e3ef5d8067881af5d0 Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Fri, 3 Mar 2023 12:44:35 +0000 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index a514d11..a27ccfc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -86,6 +86,11 @@ if [ -n "$dns_over_https" ] && [ "$dns_over_https" == "1" ]; then dns_over_https="true" ynh_app_setting_set --app=$app --key=dns_over_https --value=$dns_over_https + dns_over_https="true" + adguard_DoT_port=853 + ynh_app_setting_set --app=$app --key=adguard_DoT_port --value=$adguard_DoT_port + adguard_DoQ_port=784 + ynh_app_setting_set --app=$app --key=adguard_DoQ_port --value=$adguard_DoQ_port elif [ -z "$dns_over_https" ] || [ "$dns_over_https" == "0" ]; then dns_over_https="false"