Disable kill_states by default on upgrade, it fixes #3183
This commit is contained in:
parent
da95bdcd92
commit
279c2f425e
|
@ -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>
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
?>
|
||||
|
|
Reference in New Issue