summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.lib.inc
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-07 23:01:52 -0500
committersullrich <sullrich@pfsense.org>2009-12-07 23:01:55 -0500
commit92cf9fcd6490e65b1b21b51779e853d6603ad5c1 (patch)
tree8078ef58e2692e6529bb80d69d8d3c34ecf265fd /etc/inc/config.lib.inc
parent895445e5f419d4901f8ff3ddd2a23d19be7a943c (diff)
downloadpfsense-92cf9fcd6490e65b1b21b51779e853d6603ad5c1.zip
pfsense-92cf9fcd6490e65b1b21b51779e853d6603ad5c1.tar.gz
Show Loading new configuration to make bootup text unfiorm
Diffstat (limited to 'etc/inc/config.lib.inc')
-rw-r--r--etc/inc/config.lib.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index 73917c1..ab4e339 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -404,7 +404,8 @@ function convert_config() {
$migration_function = sprintf('upgrade_%03d_to_%03d', $cur, $next);
$migration_function();
$config['version'] = sprintf('%.1f', $next / 10);
- echo ".";
+ if($g['booting'])
+ echo ".";
}
$now = date("H:i:s");
@@ -412,6 +413,9 @@ function convert_config() {
if ($prev_version != $config['version'])
write_config("Upgraded config version level from {$prev_version} to {$config['version']}");
+
+ if($g['booting'])
+ echo "Loading new configuration...";
}
/****f* config/write_config
@@ -1249,4 +1253,4 @@ function set_device_perms() {
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud