luci-app-ddns: update/rebuild to support ddns-scripts V 2.x
[project/luci.git] / applications / luci-ddns / ipkg / postinst
diff --git a/applications/luci-ddns/ipkg/postinst b/applications/luci-ddns/ipkg/postinst
new file mode 100644 (file)
index 0000000..a2c13fa
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+       ( . /etc/uci-defaults/luci-ddns ) && rm -f /etc/uci-defaults/luci-ddns
+       exit 0
+}