Skip to content

Commit

Permalink
Upgrade code & config default version
Browse files Browse the repository at this point in the history
  • Loading branch information
NOYB committed Feb 9, 2013
1 parent 91d1736 commit 6015f75
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conf.default/config.xml
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
10 changes: 10 additions & 0 deletions etc/inc/upgrade_config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}

?>

0 comments on commit 6015f75

Please sign in to comment.