mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Add vnstat to ucitrack
This commit is contained in:
parent
2a9574565b
commit
17cd449caa
1 changed files with 7 additions and 0 deletions
|
@ -10,4 +10,11 @@ if [ -n "$wan" ]; then
|
|||
EOF
|
||||
fi
|
||||
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@vnstat[-1]
|
||||
add ucitrack vnstat
|
||||
set ucitrack.@vnstat[-1].init=vnstat
|
||||
commit ucitrack
|
||||
EOF
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue