summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-hd-idle/ipkg
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-08 23:41:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-08 23:41:50 +0000
commit1ac4b1324650068f86d2a0cfed5ecbebe3d8d7dc (patch)
tree6c59f92158d10fdce5b18fb05b8d800db740bb7b /applications/luci-hd-idle/ipkg
parent087776d3b4a26704dd907b9562c50326e77cf9b9 (diff)
trunk: remove underscores in app names (Openwrt ticket #6654)
Diffstat (limited to 'applications/luci-hd-idle/ipkg')
-rw-r--r--applications/luci-hd-idle/ipkg/postinst5
1 files changed, 5 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..835dc23ad
--- /dev/null
+++ b/applications/luci-hd-idle/ipkg/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-hd_idle ) && rm -f /etc/uci-defaults/luci-hd_idle
+ /etc/init.d/hd-idle enabled || /etc/init.d/hd-idle enable
+}