From 6b190a3a94aed5c2a0cd7220235231b69e38f0a9 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 31 Dec 2023 23:33:02 +0100 Subject: [PATCH] save the new setting in the AGH config file --- scripts/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 6aabb4d..69388e6 100644 --- a/scripts/config +++ b/scripts/config @@ -77,7 +77,10 @@ set__dns_over_https() { ynh_print_warn --message="The variable 'dns_over_https' should be 'true' or 'false' but isn't, please report this." fi - # save the new setting + # save the new setting in the AGH config file + ynh_write_var_in_file --file="$install_dir/AdGuardHome.yaml" --key="tls>enabled" --value="$dns_over_https" + + # save the new setting in YNH ynh_app_setting_set --app="$app" --key=dns_over_https --value="$dns_over_https" }