summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-11 22:20:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-11 22:20:41 +0000
commit424d5526f6ef514fcc702f3959cd470bdb770931 (patch)
tree15d08e131c03e31b41a26d32e8d46ff3cd39498b /etc/inc
parentdd9eea9283d3affadb57fc5f1eeb63539ee03a3e (diff)
downloadpfsense-424d5526f6ef514fcc702f3959cd470bdb770931.zip
pfsense-424d5526f6ef514fcc702f3959cd470bdb770931.tar.gz
Do not recreate spamd.rrd each time we are launched
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index fafd976..99e12bc 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 */
OpenPOWER on IntegriCloud