summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ddns/ipkg/postinst
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-10-11 12:11:06 +0200
committerJo-Philipp Wich <jow@openwrt.org>2014-10-11 12:11:06 +0200
commitd0fd58a4415bee73dde84b57f729b5be064a71ef (patch)
tree92b9a96d1fa67523d0840280e5d629be8fe530a0 /applications/luci-ddns/ipkg/postinst
parent7d9283845820ce40352a7530ae8499feca72dc46 (diff)
parentc09f8a7e41b2fa9eb949756cff0c83d7357102a6 (diff)
Merge pull request #223 from chris5560/master
luci-app-ddns: update/rebuild to support ddns-scripts V 2.x
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
+}