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

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

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:48:20 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
New streams

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-06-01 03:55:35.000000000 -0600
3 +++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/ups.conf/UPS 2007-06-01 03:54:33.000000000 -0600
4 @@ -2,9 +2,13 @@
5 my $model = $nut{Model} || "newhidups";
6 my $device = $nut{Device} || "/var/lib/ups/hiddev0";
7 my $type = $nut{Type};
8 + my $mfr = $nut{mfr};
9 + my $mdl = $nut{mdl};
10 $OUT .= "[UPS]\n";
11 $OUT .= "\tdriver = $model\n";
12 if ($model eq 'genericups')
13 { $OUT .= "\tupstype = $type\n" if defined $type; }
14 + { $OUT .= "\tmfr = $mfr\n" if defined $mfr; }
15 + { $OUT .= "\tmodel = $mdl\n" if defined $mdl; }
16 $OUT .= "\tport = $device\n";
17 }

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