mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 18:32:57 +02:00
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:
committed by
Arne Fitzenreiter
parent
5a5de3f026
commit
68a6d1053f
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user