dnsmasq: fix uci-defaults script to exit 0 so it is cleaned up
[openwrt/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