]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/makegraphs
use vnstat for traffic statistic now
[ipfire-2.x.git] / src / scripts / makegraphs
index 50a1a512c5c675bdfc3de2a4aa81547e48a50036..cfe5f8fa39985926efea8294d322c82cce0f8728 100644 (file)
@@ -100,6 +100,8 @@ sub updatehdddata
 
 ## Update ipac logs
 #system ('/usr/sbin/fetchipac');
+## Update vnstat
+system ('/usr/bin/vnstat -u');
 
 my @disks = `kudzu -qps -c HD | grep device: | cut -d" " -f2 | sort | uniq`;
 system("unlink /tmp/hddstatus && touch /tmp/hddstatus");