summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-hd_idle/ipkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-hd_idle/ipkg/postinst')
-rw-r--r--applications/luci-hd_idle/ipkg/postinst3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-hd_idle/ipkg/postinst b/applications/luci-hd_idle/ipkg/postinst
index 4c3b4dca8..835dc23ad 100644
--- a/applications/luci-hd_idle/ipkg/postinst
+++ b/applications/luci-hd_idle/ipkg/postinst
@@ -1,4 +1,5 @@
#!/bin/sh
[ -n "${IPKG_INSTROOT}" ] || {
- ( . /etc/uci-defaults/luci-hd_idle ) && rm -f /etc/uci-defaults/luci-hd_idle
+ ( . /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
}