flm01/mote/v1/openwrt/package/luci/applications/luci-hd-idle/ipkg/postinst

6 lines
180 B
Plaintext
Raw Normal View History

#!/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
}