SmartAudio/package/luci/luci-app-vnstat/root/etc/uci-defaults/40_luci-vnstat

12 lines
186 B
Plaintext
Raw Permalink Normal View History

2018-07-13 01:31:50 +00:00
#!/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