diff options
Diffstat (limited to 'applications/luci-hd-idle/ipkg/postinst')
-rw-r--r-- | applications/luci-hd-idle/ipkg/postinst | 5 |
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 +} |