projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ath79: do not build TP-Link tiny images by default
[oweals/openwrt.git]
/
package
/
network
/
services
/
dnsmasq
/
files
/
50-dnsmasq-migrate-resolv-conf-auto.sh
1
#!/bin/sh
2
3
[ "$(uci get dhcp.@dnsmasq[0].resolvfile)" = "/tmp/resolv.conf.auto" ] && {
4
uci set dhcp.@dnsmasq[0].resolvfile="/tmp/resolv.conf.d/resolv.conf.auto"
5
uci commit dhcp
6
}
7
8
exit 0