diff options
Diffstat (limited to 'applications/luci-vnstat')
-rwxr-xr-x | applications/luci-vnstat/root/etc/uci-defaults/luci-vnstat | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-vnstat/root/etc/uci-defaults/luci-vnstat b/applications/luci-vnstat/root/etc/uci-defaults/luci-vnstat new file mode 100755 index 000000000..fa204b3b4 --- /dev/null +++ b/applications/luci-vnstat/root/etc/uci-defaults/luci-vnstat @@ -0,0 +1,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 |