mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
am dumdum
This commit is contained in:
parent
e23e23a54b
commit
0aa41375cb
1 changed files with 7 additions and 7 deletions
|
@ -14,6 +14,13 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Storing installation settings..." --weight=2
|
ynh_script_progression --message="Storing installation settings..." --weight=2
|
||||||
|
|
||||||
|
# DNS over TLS
|
||||||
|
adguard_DoT_port=853
|
||||||
|
ynh_app_setting_set --app="$app" --key=adguard_DoT_port --value=$adguard_DoT_port
|
||||||
|
# DNS over QUIC
|
||||||
|
adguard_DoQ_port=784
|
||||||
|
ynh_app_setting_set --app="$app" --key=adguard_DoQ_port --value=$adguard_DoQ_port
|
||||||
|
|
||||||
if [ "$dns_over_https" == "1" ];
|
if [ "$dns_over_https" == "1" ];
|
||||||
then
|
then
|
||||||
dns_over_https="true"
|
dns_over_https="true"
|
||||||
|
@ -24,13 +31,6 @@ else
|
||||||
dns_over_https="false"
|
dns_over_https="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# DNS over TLS
|
|
||||||
adguard_DoT_port=853
|
|
||||||
ynh_app_setting_set --app="$app" --key=adguard_DoT_port --value=$adguard_DoT_port
|
|
||||||
# DNS over QUIC
|
|
||||||
adguard_DoQ_port=784
|
|
||||||
ynh_app_setting_set --app="$app" --key=adguard_DoQ_port --value=$adguard_DoQ_port
|
|
||||||
|
|
||||||
ynh_app_setting_set --app="$app" --key=dns_over_https --value=$dns_over_https
|
ynh_app_setting_set --app="$app" --key=dns_over_https --value=$dns_over_https
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue