aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRussell Senior <russell@personaltelco.net>2020-02-17 22:16:10 -0800
committerHans Dedecker <dedeckeh@gmail.com>2020-02-19 22:02:59 +0100
commit731f7ea48a8a1f62de1a63e52b2ed8e245f12ac3 (patch)
tree51e5c2bc2949a80bf0189d5b785dabd656e550fa /package
parentb0a3f1e8f4bae55db65d6de2c49e7daa7340211a (diff)
downloadupstream-731f7ea48a8a1f62de1a63e52b2ed8e245f12ac3.tar.gz
upstream-731f7ea48a8a1f62de1a63e52b2ed8e245f12ac3.tar.bz2
upstream-731f7ea48a8a1f62de1a63e52b2ed8e245f12ac3.zip
dnsmasq: fix uci-defaults script to exit 0 so it is cleaned up
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>
Diffstat (limited to 'package')
-rwxr-xr-xpackage/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh b/package/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh
index c78faa112d..480e2df471 100755
--- a/package/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh
+++ b/package/network/services/dnsmasq/files/50-dnsmasq-migrate-resolv-conf-auto.sh
@@ -4,3 +4,5 @@
uci set dhcp.@dnsmasq[0].resolvfile="/tmp/resolv.conf.d/resolv.conf.auto"
uci commit dhcp
}
+
+exit 0