summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-aria2/root/etc/uci-defaults/40_luci-aria2
blob: 3a9ba5b29a3e4148630eab5c8074e6587294378f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

uci -q batch <<-EOF >/dev/null
	delete ucitrack.@aria2[-1]
	add ucitrack aria2
	set ucitrack.@aria2[-1].init=aria2
	commit ucitrack
EOF

rm -f /tmp/luci-indexcache
exit 0