mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-09 12:21:33 +00:00
7 lines
181 B
Bash
7 lines
181 B
Bash
|
#!/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
|
||
|
}
|