mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
set rrdtool variable
This commit is contained in:
parent
ec9e513a4a
commit
c5cd5ebeb9
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user