Use numeric prefixes for uci-defaults scripts
[project/luci.git] / applications / luci-app-transmission / root / etc / uci-defaults / 40_luci-transmission
1 #!/bin/sh
2
3 uci -q batch <<-EOF >/dev/null
4         delete ucitrack.@tranmsmission[-1]
5         add ucitrack transmission
6         set ucitrack.@transmission[-1].init=transmission
7         commit ucitrack
8 EOF
9
10 rm -f /tmp/luci-indexcache
11 exit 0