diff options
author | Renato Botelho <renato@netgate.com> | 2017-08-16 10:39:18 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-08-16 11:03:04 -0300 |
commit | 178cb159d5242975a2bfbb841cd61c771f00de95 (patch) | |
tree | 69a733569fd2e443a2f96d71877c2a9c0d82c792 /src/etc | |
parent | c241a84f094f385670e7adfc74c931d16c039dfa (diff) | |
download | pfsense-178cb159d5242975a2bfbb841cd61c771f00de95.zip pfsense-178cb159d5242975a2bfbb841cd61c771f00de95.tar.gz |
Each item in additional_config_upgrade() must write config after changing it
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/upgrade_config.inc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/etc/inc/upgrade_config.inc b/src/etc/inc/upgrade_config.inc index 6478a8e..d850059 100644 --- a/src/etc/inc/upgrade_config.inc +++ b/src/etc/inc/upgrade_config.inc @@ -5071,7 +5071,7 @@ function additional_config_upgrade() { if (!is_array($config['system']['already_run_config_upgrade'])) { $config['system']['already_run_config_upgrade'] = array(); } - $already_run =& $config['system']['already_run_config_upgrade']; + $already_run = $config['system']['already_run_config_upgrade']; /* Copy of upgrade_166_to_167 from 2.4 */ if (!isset($already_run['upgrade_166_to_167'])) { @@ -5120,7 +5120,9 @@ function additional_config_upgrade() { $newsequence); } - $already_run['upgrade_166_to_167'] = true; + $config['system']['already_run_config_upgrade'] + ['upgrade_166_to_167'] = true; + write_config("Enabled Netgate Services and Support Widget"); } /* Copy of upgrade_168_to_169() from 2.4 */ @@ -5156,7 +5158,9 @@ function additional_config_upgrade() { ); } - $already_run['upgrade_168_to_169'] = true; + $config['system']['already_run_config_upgrade'] + ['upgrade_168_to_169'] = true; + write_config("Added pkg metadata update cronjob"); } } |