mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
fix
This commit is contained in:
parent
b994dd48d1
commit
10e581cb6e
1 changed files with 3 additions and 3 deletions
|
@ -36,11 +36,11 @@ set__expose_port_53() {
|
|||
ynh_print_info --message="Updating the AGH config file..."
|
||||
update_agh_ip_config
|
||||
|
||||
if [[ $dns_over_https == 0 ]] && [[ $expose_port_53 == 0 ]]; then
|
||||
if [ "$dns_over_https" == "true" ] && [ "$expose_port_53" == "true" ]; then
|
||||
yunohost service add "$app" --description="Ads & trackers blocking DNS server" --needs_exposed_ports "53" "$port_dns_over_http" "$port_dns_over_quic"
|
||||
elif [[ $dns_over_https == 0 ]]; then
|
||||
elif [ "$dns_over_https" == "true" ]; then
|
||||
yunohost service add "$app" --description="Ads & trackers blocking DNS server" --needs_exposed_ports "$port_dns_over_http" "$port_dns_over_quic"
|
||||
elif [[ $expose_port_53 == 0 ]]; then
|
||||
elif [ "$expose_port_53" == "true" ]; then
|
||||
yunohost service add "$app" --description="Ads & trackers blocking DNS server" --needs_exposed_ports "53"
|
||||
else
|
||||
yunohost service add "$app" --description="Ads & trackers blocking DNS server"
|
||||
|
|
Loading…
Add table
Reference in a new issue