55 |
#use esmith::console; |
#use esmith::console; |
56 |
#esmith::console::perform_restore->new->doit(esmith::console->new, |
#esmith::console::perform_restore->new->doit(esmith::console->new, |
57 |
# esmith::ConfigDB->open); |
# esmith::ConfigDB->open); |
58 |
|
diff -ruN e-smith-base-5.4.0.old/root/sbin/e-smith/bootstrap-console e-smith-base-5.4.0/root/sbin/e-smith/bootstrap-console |
59 |
|
--- e-smith-base-5.4.0.old/root/sbin/e-smith/bootstrap-console 2008-03-26 09:49:00.000000000 -0700 |
60 |
|
+++ e-smith-base-5.4.0/root/sbin/e-smith/bootstrap-console 2014-03-08 09:27:49.000000000 -0800 |
61 |
|
@@ -36,9 +36,11 @@ |
62 |
|
use esmith::console::backup_running; |
63 |
|
esmith::console::backup_running->new->doit($console, $db); |
64 |
|
|
65 |
|
-use esmith::console::perform_restore; |
66 |
|
-esmith::console::perform_restore->new->doit($console, $db); |
67 |
|
- |
68 |
|
+unless ($db->get_value('PasswordSet') eq 'yes') # Too late to do a restore |
69 |
|
+{ |
70 |
|
+ use esmith::console::perform_restore; |
71 |
|
+ esmith::console::perform_restore->new->doit($console, $db); |
72 |
|
+} |
73 |
|
use esmith::console::system_password; |
74 |
|
esmith::console::system_password->new->doit($console, $db); |
75 |
|
|