mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
only set dns over https settings on first boot
This commit is contained in:
parent
c7e9b2aceb
commit
73f577c515
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ if [ "$(uci -q get dhcp.lan.dhcp_options)" = "" ]; then
|
||||||
EOF
|
EOF
|
||||||
fi
|
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 openmptcprouter.latest_versions)" = "" ]; then
|
||||||
# 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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue