mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Keep config of https-dns-proxy but disable by default
This commit is contained in:
parent
de9c881b6f
commit
080c06bfba
1 changed files with 7 additions and 7 deletions
|
@ -41,13 +41,13 @@ if [ "$(uci -q get dhcp.lan.dhcp_options)" = "" ]; then
|
|||
fi
|
||||
|
||||
if [ "$(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]
|
||||
commit https-dns-proxy
|
||||
EOF
|
||||
# /etc/init.d/https-dns-proxy stop
|
||||
# /etc/init.d/https-dns-proxy disable
|
||||
# uci -q batch <<-EOF >/dev/null
|
||||
# delete https-dns-proxy.@https-dns-proxy[-1]
|
||||
# delete https-dns-proxy.@https-dns-proxy[-1]
|
||||
# commit https-dns-proxy
|
||||
# EOF
|
||||
/etc/init.d/https-dns-proxy stop
|
||||
/etc/init.d/https-dns-proxy disable
|
||||
# set https-dns-proxy.@https-dns-proxy[-1]=https-dns-proxy
|
||||
# set https-dns-proxy.@https-dns-proxy[-1].listen_addr='127.0.0.1'
|
||||
# set https-dns-proxy.@https-dns-proxy[-1].user='nobody'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue