summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ddns/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ddns/ipkg/postinst')
-rw-r--r--applications/luci-ddns/ipkg/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/luci-ddns/ipkg/postinst b/applications/luci-ddns/ipkg/postinst
new file mode 100644
index 0000000000..a2c13fa34c
--- /dev/null
+++ b/applications/luci-ddns/ipkg/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-ddns ) && rm -f /etc/uci-defaults/luci-ddns
+ exit 0
+}