summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-ddns/ipkg/postinst')
-rw-r--r--applications/luci-app-ddns/ipkg/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/luci-app-ddns/ipkg/postinst b/applications/luci-app-ddns/ipkg/postinst
new file mode 100644
index 000000000..a2c13fa34
--- /dev/null
+++ b/applications/luci-app-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
+}