summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ddns/ipkg/postinst
diff options
context:
space:
mode:
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>2014-10-10 21:55:22 +0200
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>2014-10-10 21:55:22 +0200
commitc09f8a7e41b2fa9eb949756cff0c83d7357102a6 (patch)
tree7e4a02d7dced1b4d8b0c1fe1ecac128edf966fb0 /applications/luci-ddns/ipkg/postinst
parentbb388f0873b5f9b88c45af5c7d35e9eb9f4ac8ac (diff)
luci-app-ddns: update/rebuild to support ddns-scripts V 2.x
extends/replaces exising luci-app-ddns to support ddns-scripts starting Version 2.0.1-8 Still supports ddns-scripts Version 1.0.0-23 with the old interface including fix for OpenWrt Ticket #18018. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
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
+}