mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not recreate spamd.rrd each time we are launched
This commit is contained in:
parent
dd9eea9283
commit
424d5526f6
@ -2018,7 +2018,7 @@ function enable_rrd_graphing()
|
||||
}
|
||||
$a_queues = &$config['shaper']['queue'];
|
||||
|
||||
if((file_exists("$rrddbpath$ifname$queues")) && (isset($config['shaper']['enable']))) {
|
||||
if((!file_exists("$rrddbpath$ifname$queues")) && (isset($config['shaper']['enable']))) {
|
||||
/* create rrd file if it does not exist */
|
||||
$rrdcreate = "$rrdtool create $rrddbpath$ifname$queues --step $rrdqueuesinterval \\\n";
|
||||
/* loop list of shaper queues */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user