makegraphs: 'vnstat -u' is no longer supported/needed

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Matthias Fischer
2020-04-10 19:17:11 +02:00
committed by Arne Fitzenreiter
parent 5a5de3f026
commit 68a6d1053f

View File

@@ -106,9 +106,6 @@ sub updatehdddata{
}
}
## Update vnstat
system ('/usr/bin/vnstat -u');
my @disks = `ls -1 /sys/block | grep -E '^sd|^nvme|^mmcblk|^xvd|^vd|^md' | sort | uniq`;
system("unlink /var/run/hddstatus 2>/dev/null && touch /var/run/hddstatus");
foreach (@disks){