mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Change DNS over HTTPS config only when needed
This commit is contained in:
parent
f046205cf4
commit
076f856499
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ if [ "$(uci -q get dhcp.lan.dhcp_options)" = "" ]; then
|
|||
EOF
|
||||
fi
|
||||
|
||||
if [ "$(uci -q get https-dns-proxy.@https-dns-proxy[0].listen_port)" = "5053" ]; then
|
||||
if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ] && [ "$(uci -q get https-dns-proxy.@https-dns-proxy[0].listen_port)" = "5053" ]; then
|
||||
# uci -q batch <<-EOF >/dev/null
|
||||
# delete https-dns-proxy.@https-dns-proxy[-1]
|
||||
# delete https-dns-proxy.@https-dns-proxy[-1]
|
||||
|
|
Loading…
Reference in a new issue