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