diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-27 16:47:23 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-27 16:50:19 +0100 |
commit | 8eaac4b637d989680ad86dc3e84b0f3b547c1619 (patch) | |
tree | fbc6aa60f12e0ab8624448efcd29daa62e099314 /applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle | |
parent | 445ae20db8812bcff3e4c0e32859ea1d3d5fbe4b (diff) |
Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle')
-rwxr-xr-x | applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle b/applications/luci-app-hd-idle/root/etc/uci-defaults/40_luci-hd_idle new file mode 100755 index 0000000000..92f4356367 --- /dev/null +++ b/applications/luci-app-hd-idle/root/etc/uci-defaults/40_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 |