1 |
slords |
1.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-03 01:04:08.000000000 -0600 |
3 |
|
|
+++ mezzanine_patched_e-smith-nutUPS-1.2.0/root/etc/e-smith/templates/etc/ups/ups.conf/UPS 2007-06-03 01:03:27.000000000 -0600 |
4 |
|
|
@@ -7,8 +7,10 @@ |
5 |
|
|
$OUT .= "[UPS]\n"; |
6 |
|
|
$OUT .= "\tdriver = $model\n"; |
7 |
|
|
if ($model eq 'genericups') |
8 |
|
|
- { $OUT .= "\tupstype = $type\n" if defined $type; } |
9 |
|
|
- { $OUT .= "\tmfr = $mfr\n" if defined $mfr; } |
10 |
|
|
- { $OUT .= "\tmodel = $mdl\n" if defined $mdl; } |
11 |
|
|
+ { |
12 |
|
|
+ $OUT .= "\tupstype = $type\n" if defined $type; |
13 |
|
|
+ $OUT .= "\tmfr = $mfr\n" if defined $mfr; |
14 |
|
|
+ $OUT .= "\tmodel = $mdl\n" if defined $mdl; |
15 |
|
|
+ } |
16 |
|
|
$OUT .= "\tport = $device\n"; |
17 |
|
|
} |