mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-08-12 15:33:42 +08:00
9 lines
189 B
Bash
Executable File
9 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "$(uci get dhcp.@dnsmasq[0].resolvfile)" = "/tmp/resolv.conf.auto" ] && {
|
|
uci set dhcp.@dnsmasq[0].resolvfile="/tmp/resolv.conf.d/resolv.conf.auto"
|
|
uci commit dhcp
|
|
}
|
|
|
|
exit 0
|