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

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

exit 0