applications: revise uci-defaults scripts
[project/luci.git] / applications / luci-hd-idle / root / etc / uci-defaults / luci-hd_idle
1 #!/bin/sh
2
3 uci -q batch <<-EOF >/dev/null
4 delete ucitrack.@hd-idle[-1]
5 add ucitrack hd-idle
6 set ucitrack.@hd-idle[-1].init=hd-idle
7 commit ucitrack
8 EOF
9
10 rm -f /tmp/luci-indexcache
11 exit 0