mirror of
https://github.com/coolsnowwolf/luci
synced 2025-01-09 04:57:28 +08:00
Revert "luci-app-turboacc: adapt dnsmasq settings"
This reverts commit 513770ccb0
.
This commit is contained in:
parent
513770ccb0
commit
0ee83a4cf6
@ -220,11 +220,7 @@ revert_dns() {
|
||||
[ -e "/var/run/dnscache/.dns-changed" ] || return 1
|
||||
|
||||
uci -q del_list dhcp.@dnsmasq[0].server="127.0.0.1#5333"
|
||||
if [ -s "/tmp/resolv.conf.auto" ]; then
|
||||
uci set dhcp.@dnsmasq[0].resolvfile="/tmp/resolv.conf.auto"
|
||||
else
|
||||
uci set dhcp.@dnsmasq[0].resolvfile="/tmp/resolv.conf.d/resolv.conf.auto"
|
||||
fi
|
||||
uci set dhcp.@dnsmasq[0].resolvfile="/tmp/resolv.conf.d/resolv.conf.auto"
|
||||
uci set dhcp.@dnsmasq[0].noresolv="0"
|
||||
uci commit dhcp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user