summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-hd_idle/ipkg
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-10-02 13:52:28 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-10-02 13:52:28 +0000
commit3f372dd416348af57905e8f3ef72aefe0012a250 (patch)
tree2a597d2e8b1f10d55ec9de3a0d0efb5e29fbbcab /applications/luci-hd_idle/ipkg
parentb5de7f81384b38737fbdecfe6179fe5905fa73d8 (diff)
* luci/applications: add hd-idle application, thanks Yanira
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 000000000..4c3b4dca8
--- /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
+}