/[smeserver]/rpms/e-smith-backup/sme9/e-smith-backup-2.4.0-disableConsoleRestore.patch
ViewVC logotype

Annotation of /rpms/e-smith-backup/sme9/e-smith-backup-2.4.0-disableConsoleRestore.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Apr 19 18:24:19 2014 UTC (10 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-backup-2_4_0-32_el6_sme, e-smith-backup-2_4_0-42_el6_sme, e-smith-backup-2_4_0-38_el6_sme, e-smith-backup-2_4_0-46_el6_sme, e-smith-backup-2_4_0-34_el6_sme, e-smith-backup-2_4_0-35_el6_sme, e-smith-backup-2_4_0-36_el6_sme, e-smith-backup-2_4_0-44_el6_sme, e-smith-backup-2_4_0-37_el6_sme, e-smith-backup-2_4_0-33_el6_sme, e-smith-backup-2_4_0-41_el6_sme, e-smith-backup-2_4_0-39_el6_sme, e-smith-backup-2_4_0-45_el6_sme, e-smith-backup-2_4_0-40_el6_sme, e-smith-backup-2_4_0-43_el6_sme, HEAD
* Sat Apr 19 2014 Ian Wells <esmith@wellsi.com> 2.4.0-32.sme
- Allow workstation backup to mounted drive [SME: 8144]

1 wellsi 1.1 diff -ruN e-smith-backup-2.4.0.p31/root/usr/share/perl5/vendor_perl/esmith/console/perform_restore.pm e-smith-backup-2.4.0/root/usr/share/perl5/vendor_perl/esmith/console/perform_restore.pm
2     --- e-smith-backup-2.4.0.p31/root/usr/share/perl5/vendor_perl/esmith/console/perform_restore.pm 2014-03-22 16:13:12.000000000 -0700
3     +++ e-smith-backup-2.4.0/root/usr/share/perl5/vendor_perl/esmith/console/perform_restore.pm 2014-03-22 16:20:10.000000000 -0700
4     @@ -34,6 +34,11 @@
5     {
6     return if ($db->get_value('PasswordSet') eq 'yes'); # too late
7     }
8     + else
9     + {
10     + # For SME 9 disable the restore from console
11     + return unless ($db->get_value('AllowConsoleRestore') eq 'enabled');
12     + }
13     return if ($db->get_prop('bootstrap-console', 'Restore') eq 'disabled');
14     my ($rc, $choice) = $console->yesno_page
15     (

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