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:
parent
c746f6c398
commit
bd80052ef1
1 changed files with 3 additions and 2 deletions
|
@ -44,8 +44,9 @@ if [ "$(uci -q get dhcp.lan.dhcp_options)" = "" ]; then
|
|||
commit dhcp
|
||||
EOF
|
||||
fi
|
||||
|
||||
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 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
|
||||
# delete https-dns-proxy.@https-dns-proxy[-1]
|
||||
# delete https-dns-proxy.@https-dns-proxy[-1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue