From 424d5526f6ef514fcc702f3959cd470bdb770931 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 11 Apr 2006 22:20:41 +0000 Subject: [PATCH] Do not recreate spamd.rrd each time we are launched --- etc/inc/pfsense-utils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index fafd9767e7..99e12bc5a3 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -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 */