1 |
unnilennium |
1.1 |
diff -Nur e-smith-base-5.8.0.old/root/sbin/e-smith/bootstrap-console e-smith-base-5.8.0/root/sbin/e-smith/bootstrap-console |
2 |
|
|
--- e-smith-base-5.8.0.old/root/sbin/e-smith/bootstrap-console 2016-04-13 10:46:29.840000000 -0400 |
3 |
|
|
+++ e-smith-base-5.8.0/root/sbin/e-smith/bootstrap-console 2016-04-13 10:50:40.913000000 -0400 |
4 |
|
|
@@ -42,11 +42,14 @@ |
5 |
|
|
use esmith::console::system_password; |
6 |
|
|
esmith::console::system_password->new->doit($console, $db); |
7 |
|
|
|
8 |
|
|
-use esmith::console::configure; |
9 |
|
|
-esmith::console::configure->new(bootstrap => 1)->doit($console, $db); |
10 |
|
|
+if ($db->get_prop('bootstrap-console', 'Run') eq 'yes') |
11 |
|
|
+{ |
12 |
|
|
+ use esmith::console::configure; |
13 |
|
|
+ esmith::console::configure->new(bootstrap => 1)->doit($console, $db); |
14 |
|
|
|
15 |
|
|
-use esmith::console::save_config; |
16 |
|
|
-esmith::console::save_config->new->doit($console, $db); |
17 |
|
|
+ use esmith::console::save_config; |
18 |
|
|
+ esmith::console::save_config->new->doit($console, $db); |
19 |
|
|
+} |
20 |
|
|
|
21 |
|
|
$ARGV[0] = 'tty'; |
22 |
|
|
$console = esmith::console->new(); |