projects
/
openwrt
/
staging
/
stintel.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
netifd: update to Git HEAD (2024-09-03)
[openwrt/staging/stintel.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