summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vnstat/root/etc/uci-defaults/40_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