/[smeserver]/rpms/e-smith-nutUPS/sme8/e-smith-nutUPS-1.2.0-upstype3.patch
ViewVC logotype

Contents of /rpms/e-smith-nutUPS/sme8/e-smith-nutUPS-1.2.0-upstype3.patch

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


Revision 1.1 - (show annotations) (download)
Tue Jun 12 19:13:07 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-nutUPS-1_2_0-16_el5_sme, e-smith-nutUPS-1_2_0-15_el5_sme, e-smith-nutUPS-1_2_0-17_el5_sme, e-smith-nutUPS-1_2_0-14_el5_sme
Import on branch sme8 of package e-smith-nutUPS-1.2.0-14.el5.sme.src.rpm

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/ups.conf/UPS mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/ups.conf/UPS
2 --- e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/ups.conf/UPS 2007-04-10 05:55:30.000000000 -0600
3 +++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/ups.conf/UPS 2007-04-10 05:55:06.000000000 -0600
4 @@ -4,6 +4,7 @@
5 my $type = $nut{Type} || '';
6 $OUT .= "[UPS]\n";
7 $OUT .= "\tdriver = $model\n";
8 - $OUT .= "\tupstype = $type\n" if $type;
9 + if ($model eq 'genericups')
10 + { $OUT .= "\tupstype = $type\n" if $type; }
11 $OUT .= "\tport = $device\n";
12 }

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