diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-12-20 10:46:59 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-12-20 10:46:59 +0000 |
commit | c5cd5ebeb947495f40639092d935bced5ebc088e (patch) | |
tree | 5d76f42e8a9ad9ec3f959de533b845e5a91b0c4d /etc/inc/rrd.inc | |
parent | ec9e513a4a0317a68ad2f379cbd7d056bf4ce0b5 (diff) | |
download | pfsense-c5cd5ebeb947495f40639092d935bced5ebc088e.zip pfsense-c5cd5ebeb947495f40639092d935bced5ebc088e.tar.gz |
set rrdtool variable
Diffstat (limited to 'etc/inc/rrd.inc')
-rw-r--r-- | etc/inc/rrd.inc | 2 |
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) { |