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:
parent
5a6ef8ca2a
commit
a28b5b347d
32 changed files with 2286 additions and 1 deletions
|
@ -24,7 +24,7 @@ start_service() {
|
|||
|
||||
init_iface() {
|
||||
local ifn="$1"
|
||||
/usr/bin/vnstat -u -i "$ifn" >/dev/null
|
||||
/usr/bin/vnstat --add -i "$ifn" >/dev/null
|
||||
}
|
||||
|
||||
config_list_foreach "$cfg" interface init_iface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue