flm01/openwrt/package/luci/applications/luci-hd-idle/ipkg/.svn/text-base/postinst.svn-base

6 lines
180 B
Bash

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