summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-21 21:21:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-21 21:21:40 +0000
commitbed8fe6af764975f65d661f38fb9a7884fb4be22 (patch)
tree88a91387f13c90af48975ef0381f213343c0f6db /etc
parent3fafce5af4a0d97b629e0a7ec26eaca68210ea88 (diff)
downloadpfsense-bed8fe6af764975f65d661f38fb9a7884fb4be22.zip
pfsense-bed8fe6af764975f65d661f38fb9a7884fb4be22.tar.gz
* Silence phpeclipse errors
* Turn off RRD on CDROM platform until we can get a solid working solution (hopefully by RC1)
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 9776788..1dc6064 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1855,8 +1855,14 @@ function enable_rrd_graphing()
$downstream = 125000000;
$upstream = 125000000;
+ $rrdrestore = "";
+ $rrdreturn = "";
+
$config['rrd']['enable'] = true;
+ if($g['platform'] == "cdrom")
+ return;
+
if (isset($config['rrd']['enable'])) {
/* create directory if needed */
OpenPOWER on IntegriCloud