c78faa112df4db8c0bf0c1d6111a01aebbc9b7e6
[openwrt/staging/chunkeey.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 }