1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 19:33:59 +02:00
Commit Graph

7 Commits

Author SHA1 Message Date
Jan Hoffmann
10a8054925
vnstat2: update to version 2.9
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
(cherry picked from commit 948f0d29cc)
2022-02-18 23:25:59 +01:00
Jan Hoffmann
42f35cdda7
vnstat2: add hotplug script for adding interfaces
If an interface doesn't exist yet when vnStat is started, it won't be
monitored, as only existing interfaces can be added to the database via
the vnstat command.

This adds a hotplug script which adds any configured interfaces to the
vnStat database when it goes up.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
(cherry picked from commit f9ea814260)
2022-02-18 23:25:53 +01:00
Jan Hoffmann
f8820d2aeb
vnstat2: fix all interfaces being monitored when none are configured
By default, vnstatd adds all available interfaces on startup when its
database is empty. The --noadd option prevents this, but it breaks
import of legacy databases, and causes vnstatd to exit immediately
after startup, which breaks reloading.

This changes the init script to add the --noadd option when no legacy
databases need to be imported, and patches vnstatd to keep running
even when no interfaces are configured.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
(cherry picked from commit ecae7dedde)
2022-02-18 23:25:49 +01:00
Jan Hoffmann
86f85cde4f
vnstat2: update to version 2.8
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
(cherry picked from commit 73fff7a4ed)
2022-02-18 23:25:44 +01:00
Jan Hoffmann
a9a6f50c03 vnstat2: update to version 2.7
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2021-05-18 21:51:03 +03:00
Jan Hoffmann
39f1455926 vnstat2: update to version 2.6
This also cleans up the Makefile and removes an unneeded patch.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2020-01-21 14:05:22 +01:00
Jan Hoffmann
26878ae8de vnstat2: add package
This introduces an additional package for version 2 of vnStat.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2020-01-04 00:43:57 +01:00