/[smeserver]/rpms/e-smith-nutUPS/sme7/e-smith-nutUPS-1.2.0-FixUninitializedValue.patch
ViewVC logotype

Annotation of /rpms/e-smith-nutUPS/sme7/e-smith-nutUPS-1.2.0-FixUninitializedValue.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Nov 30 16:00:35 2007 UTC (17 years ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-nutUPS-1_2_0-17_el4_sme, e-smith-nutUPS-1_2_0-16_el4_sme
Updates

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel
2     --- e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel 2007-11-30 12:16:54.000000000 +0000
3     +++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/db/configuration/migrate/nutModel 2007-11-30 12:12:14.000000000 +0000
4     @@ -1,4 +1,6 @@
5     {
6     - my $pool = $DB->get_prop('nut', 'Model');
7     - $DB->set_prop('nut', 'Model', 'usbhid-ups') if ($pool eq 'newhidups');
8     + my $nutmod = $DB->get_prop('nut', 'Model');
9     + return unless $nutmod;
10     + $DB->set_prop('nut', 'Model', 'usbhid-ups') if ($nutmod eq 'newhidups');
11     }
12     +

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