1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update 1940-omr-dns

This commit is contained in:
suyuan 2021-01-08 20:21:02 +08:00
parent c746f6c398
commit bd80052ef1

View file

@ -44,8 +44,9 @@ if [ "$(uci -q get dhcp.lan.dhcp_options)" = "" ]; then
commit dhcp commit dhcp
EOF EOF
fi 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 #if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ] && [ "$(uci -q get https-dns-proxy.@https-dns-proxy[0].listen_port)" = "5053" ]; then
#上面一行是仅在需要时通过HTTPS配置更改DNS可以修改为默认为否
# uci -q batch <<-EOF >/dev/null # uci -q batch <<-EOF >/dev/null
# delete https-dns-proxy.@https-dns-proxy[-1] # delete https-dns-proxy.@https-dns-proxy[-1]
# delete https-dns-proxy.@https-dns-proxy[-1] # delete https-dns-proxy.@https-dns-proxy[-1]