diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-12-16 09:30:28 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-12-16 09:30:28 +0000 |
commit | 77be57453e4c49f76f4904e4b5b64d9409f302f6 (patch) | |
tree | 781b0c8e26dc73facbfc14ee3867d071b76c69e1 /etc | |
parent | ea1f7b42670b8cd477838d46f2740b60949eb9a1 (diff) | |
download | pfsense-77be57453e4c49f76f4904e4b5b64d9409f302f6.zip pfsense-77be57453e4c49f76f4904e4b5b64d9409f302f6.tar.gz |
Format has changed for quality, traffic and packets. Remove these files. They will be recreated
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 8 | ||||
-rw-r--r-- | etc/inc/globals.inc | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 022def4..d25715e 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -2061,6 +2061,14 @@ endif; $config['version'] = "5.4"; } + /* Convert 5.4 -> 5.5 */ + if ($config['version'] <= 5.4) { + /* RRD files changed for quality, traffic and packets graphs */ + exec("/bin/rm -f /var/db/rrd/*-quality.rrd"); + exec("/bin/rm -f /var/db/rrd/*-packets.rrd"); + exec("/bin/rm -f /var/db/rrd/*-traffic.rrd"); + } + $now = date("H:i:s"); log_error("Ended Configuration upgrade at $now"); diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index f6a2870..1c34c21 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -61,7 +61,7 @@ $g = array( "n_pppoe_units" => 16, /* this value can be overriden in pppoe->n_pppoe_units */ "pppoe_subnet" => 28, /* this value can be overriden in pppoe->pppoe_subnet */ "debug" => false, - "latest_config" => "5.4", + "latest_config" => "5.5", "nopkg_platforms" => array("cdrom"), "minimum_ram_warning" => "115", "minimum_ram_warning_text" => "128 megabytes", @@ -89,4 +89,4 @@ $iptos = array("lowdelay", "throughput", "reliability"); /* TCP flags */ $tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg"); -?>
\ No newline at end of file +?> |