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