1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix vnstat interface with latest release

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-10-03 21:06:20 +02:00
parent 5a6ef8ca2a
commit a28b5b347d
32 changed files with 2286 additions and 1 deletions

View file

@ -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