Browse Source

vnstat2: update to version 2.7

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
lilik-openwrt-22.03
Jan Hoffmann 3 years ago
committed by Hannu Nyman
parent
commit
80e6e0bcbe
2 changed files with 4 additions and 3 deletions
  1. +2
    -2
      net/vnstat2/Makefile
  2. +2
    -1
      net/vnstat2/files/vnstat.init

+ 2
- 2
net/vnstat2/Makefile View File

@ -6,12 +6,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=vnstat2
PKG_VERSION:=2.6
PKG_VERSION:=2.7
PKG_RELEASE:=1
PKG_SOURCE:=vnstat-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://humdi.net/vnstat
PKG_HASH:=89276e0a7281943edb554b874078278ad947dc312938a2451e03eb80679f7ff7
PKG_HASH:=4c28a1d8bc03c2b6e7ab96c876e07dd8ea174b7cad73b7190ecb2b9501e83e9e
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=COPYING


+ 2
- 1
net/vnstat2/files/vnstat.init View File

@ -15,8 +15,9 @@ init_database() {
local database_count="$(ls "$lib" 2>/dev/null | wc -l)"
# only init database when folder is empty, as it would prevent import of legacy databases
if [ "$database_count" -eq "0" ]; then
/usr/sbin/vnstatd -n --noadd >/dev/null
/usr/sbin/vnstatd --initdb >/dev/null
fi
}


Loading…
Cancel
Save