summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-12-20 10:46:59 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-12-20 10:46:59 +0000
commitc5cd5ebeb947495f40639092d935bced5ebc088e (patch)
tree5d76f42e8a9ad9ec3f959de533b845e5a91b0c4d /etc
parentec9e513a4a0317a68ad2f379cbd7d056bf4ce0b5 (diff)
downloadpfsense-c5cd5ebeb947495f40639092d935bced5ebc088e.zip
pfsense-c5cd5ebeb947495f40639092d935bced5ebc088e.tar.gz
set rrdtool variable
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/rrd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc
index 08a9267..3e1001e 100644
--- a/etc/inc/rrd.inc
+++ b/etc/inc/rrd.inc
@@ -34,7 +34,7 @@ require_once("notices.inc");
require_once("globals.inc");
function dump_rrd_to_xml($rrddatabase, $xmldumpfile) {
- global $rrdtool;
+ $rrdtool = "/usr/local/bin/rrdtool";
exec("rm {$xmldumpfile}");
exec("$rrdtool dump {$rrddatabase} {$xmldumpfile} 2>&1", $dumpout, $dumpret);
if ($dumpret <> 0) {
OpenPOWER on IntegriCloud