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

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

rm -f /tmp/luci-indexcache
exit 0