diff options
Diffstat (limited to 'applications/luci-app-hd-idle/root')
-rwxr-xr-x | applications/luci-app-hd-idle/root/etc/uci-defaults/luci-hd_idle | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-hd-idle/root/etc/uci-defaults/luci-hd_idle b/applications/luci-app-hd-idle/root/etc/uci-defaults/luci-hd_idle new file mode 100755 index 000000000..92f435636 --- /dev/null +++ b/applications/luci-app-hd-idle/root/etc/uci-defaults/luci-hd_idle @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@hd-idle[-1] + add ucitrack hd-idle + set ucitrack.@hd-idle[-1].init=hd-idle + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |