Disable kill_states by default on upgrade, it fixes #3183

This commit is contained in:
Renato Botelho 2013-09-06 13:58:49 -03:00
parent da95bdcd92
commit 279c2f425e
3 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!-- pfSense default system configuration -->
<pfsense>
<version>9.6</version>
<version>9.8</version>
<lastchange></lastchange>
<theme>pfsense_ng</theme>
<sysctl>

View File

@ -72,7 +72,7 @@ $g = array(
"disablecrashreporter" => false,
"crashreporterurl" => "http://crashreporter.pfsense.org/crash_reporter.php",
"debug" => false,
"latest_config" => "9.7",
"latest_config" => "9.8",
"nopkg_platforms" => array("cdrom"),
"minimum_ram_warning" => "101",
"minimum_ram_warning_text" => "128 MB",

View File

@ -3136,4 +3136,10 @@ function upgrade_096_to_097() {
$config['syslog']['nologprivatenets'] = true;
}
}
function upgrade_097_to_098() {
global $config, $g;
/* Disable kill_states by default */
$config['system']['kill_states'] = true;
}
?>