summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-18 02:24:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-18 02:24:56 +0000
commite42cac89e8ccf2850f8fe9ea2b5e66adc21d94a0 (patch)
tree72f2810cc7c50627850a8c3e9e7fbbde2eaf7b28
parent7adbc2a230e7e4522bb4dc1bb94bc7b445401829 (diff)
downloadpfsense-e42cac89e8ccf2850f8fe9ea2b5e66adc21d94a0.zip
pfsense-e42cac89e8ccf2850f8fe9ea2b5e66adc21d94a0.tar.gz
3 out of 4 kids agree, metallic is a better theme!
-rw-r--r--cf/conf/config.xml1
-rw-r--r--conf.default/config.xml1
-rw-r--r--etc/inc/config.inc7
3 files changed, 8 insertions, 1 deletions
diff --git a/cf/conf/config.xml b/cf/conf/config.xml
index 5dc968a..a831503 100644
--- a/cf/conf/config.xml
+++ b/cf/conf/config.xml
@@ -3,6 +3,7 @@
<pfsense>
<version>1.4</version>
<lastchange></lastchange>
+ <theme>metallic</theme>
<system>
<optimization>normal</optimization>
<schedulertype>priq</schedulertype>
diff --git a/conf.default/config.xml b/conf.default/config.xml
index 3faef00..99babc1 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -3,6 +3,7 @@
<pfsense>
<version>1.4</version>
<lastchange></lastchange>
+ <theme>metallic</theme>
<system>
<optimization>normal</optimization>
<schedulertype>priq</schedulertype>
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 355ae2e..06dd314 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -649,7 +649,12 @@ function convert_config() {
$config['version'] = "1.8";
}
-
+
+ /* Convert 1.8 -> 1.9 */
+ if ($config['version'] == "1.7") {
+ $config['theme']="metallic";
+ $config['version'] = "1.9";
+ }
if ($prev_version != $config['version'])
write_config("Upgraded config version level from {$prev_version} to {$config['version']}");
OpenPOWER on IntegriCloud