mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
no i don't need to, i'm tired x)
This commit is contained in:
parent
1828efa426
commit
39c1bc9387
1 changed files with 0 additions and 4 deletions
|
@ -74,10 +74,6 @@ set__dns_over_https() {
|
||||||
ynh_print_warn --message="The variable 'dns_over_https' should be 'true' or 'false' but isn't, please report this."
|
ynh_print_warn --message="The variable 'dns_over_https' should be 'true' or 'false' but isn't, please report this."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# update the value in the AGH config file
|
|
||||||
ynh_print_info --message="Updating 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
|
# save the new setting
|
||||||
ynh_app_setting_set "$app" --key=dns_over_https --value="$dns_over_https"
|
ynh_app_setting_set "$app" --key=dns_over_https --value="$dns_over_https"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue