luci-app-flowoffload: fix path to resolv file

This commit is contained in:
CN_SZTL 2020-03-22 04:12:19 +08:00
parent bf15cff1d4
commit 4e45118e57
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -208,7 +208,7 @@ change_dns() {
revert_dns() {
uci del_list dhcp.@dnsmasq[0].server=127.0.0.1#5333 >/dev/null 2>&1
uci set dhcp.@dnsmasq[0].resolvfile=/tmp/resolv.conf.auto
uci set dhcp.@dnsmasq[0].resolvfile=/tmp/resolv.conf.d/resolv.conf.auto
uci set dhcp.@dnsmasq[0].noresolv=0
uci commit dhcp