dnsmasq: fix uci-defaults script to exit 0 so it is cleaned up
authorRussell Senior <russell@personaltelco.net>
Tue, 18 Feb 2020 06:16:10 +0000 (22:16 -0800)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 19 Feb 2020 21:02:59 +0000 (22:02 +0100)
A file, package/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh,
was added in commit 6a2855212096d2c486961a0841b037bae4b75de7, but it
does not exit in a way that tells the uci-defaults mechanism that it
succeeded, and so it is not cleaned up after running successfully. Add
an exit 0 to the end to correct that.

Signed-off-by: Russell Senior <russell@personaltelco.net>
package/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh

index c78faa112df4db8c0bf0c1d6111a01aebbc9b7e6..480e2df4718505e0f5152d1563878efe9d89b67b 100755 (executable)
@@ -4,3 +4,5 @@
        uci set dhcp.@dnsmasq[0].resolvfile="/tmp/resolv.conf.d/resolv.conf.auto"
        uci commit dhcp
 }
+
+exit 0