summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-hd-idle/ipkg/postinst
blob: 835dc23ad326ae183b2cfe3d97ac7068a131eb9d (plain)
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
}