/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.4.0-consoleBackupRestore.patch
ViewVC logotype

Diff of /rpms/e-smith-base/sme9/e-smith-base-5.4.0-consoleBackupRestore.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by wellsi, Fri Mar 7 06:45:08 2014 UTC Revision 1.2 by wellsi, Sat Mar 8 17:58:31 2014 UTC
# Line 55  diff -ruN e-smith-base-5.4.0.old/root/us Line 55  diff -ruN e-smith-base-5.4.0.old/root/us
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    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed