From d8804eabdaa06064b448f89bee4d9dddf9b237c0 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Sat, 20 Dec 2008 09:55:29 +0000 Subject: [PATCH] run enable_rrd_graphing() at the end to create a new updaterrd.sh --- etc/inc/config.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/inc/config.inc b/etc/inc/config.inc index d44426cd49..acf7d460f9 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -2100,7 +2100,7 @@ endif; $xmldumptmp = "{$database}.tmp.xml"; $databasenew = "{$database}.new.xml"; - log_error("Upgrading rrd database {$rrddbpath}/{$database}"); + echo "Upgrading rrd database {$rrddbpath}/{$database} \n"); /* rename DS source */ mwexec("$rrdtool tune {$rrddbpath}/{$database} -r in:inpass"); mwexec("$rrdtool tune {$rrddbpath}/{$database} -r out:outpass"); @@ -2142,6 +2142,7 @@ endif; file_put_contents("{$g['tmp_path']}/{$databasenew}", $rrdxml); exec("$rrdtool restore -f {$g['tmp_path']}/{$databasenew} {$rrddbpath}/{$database}"); } + enable_rrd_graphing(); $config['version'] = "5.5"; }