diff options
author | N0YB <Al_Stu@Frontier.com> | 2013-02-09 15:04:50 -0800 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2013-02-09 15:04:50 -0800 |
commit | 6015f75bbae2732e06255912e6bb455fd87c47d3 (patch) | |
tree | dc4478da32e11dfc7b602f880f488f4eb5988ecc | |
parent | 91d1736fb281980363cdf16fb07122ff3a0a7ad2 (diff) | |
download | pfsense-6015f75bbae2732e06255912e6bb455fd87c47d3.zip pfsense-6015f75bbae2732e06255912e6bb455fd87c47d3.tar.gz |
Upgrade code & config default version
-rw-r--r-- | conf.default/config.xml | 2 | ||||
-rw-r--r-- | etc/inc/upgrade_config.inc | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml index dd804dc..9e564ed 100644 --- a/conf.default/config.xml +++ b/conf.default/config.xml @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!-- pfSense default system configuration --> <pfsense> - <version>9.3</version> + <version>9.4</version> <lastchange></lastchange> <theme>pfsense_ng</theme> <sysctl> diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index 113c311..9181024 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -2992,4 +2992,14 @@ function upgrade_092_to_093() { enable_rrd_graphing(); } +function upgrade_093_to_094() { + global $config; + + if (isset($config['system']['powerd_mode'])) { + $config['system']['powerd_ac_mode'] = $config['system']['powerd_mode']; + $config['system']['powerd_battery_mode'] = $config['system']['powerd_mode']; + unset($config['system']['powerd_mode']); + } +} + ?> |