summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-12-20 09:55:29 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-12-20 09:55:29 +0000
commitd8804eabdaa06064b448f89bee4d9dddf9b237c0 (patch)
treeb2c7bc74de110c2243f5e740261fe975362bf72b /etc
parent7e6682984e1a723ebe875eee92df42989f78dc60 (diff)
downloadpfsense-d8804eabdaa06064b448f89bee4d9dddf9b237c0.zip
pfsense-d8804eabdaa06064b448f89bee4d9dddf9b237c0.tar.gz
run enable_rrd_graphing() at the end to create a new updaterrd.sh
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index d44426c..acf7d46 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";
}
OpenPOWER on IntegriCloud