1 2 3 4 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 }