summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-10-05 06:50:52 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-10-05 06:50:52 +0000
commitd4676cdb7c361ebf1d1f022a8c7aa6cc1cd63754 (patch)
treedd3c76fbfbcec8497edd4639d7ff583705bd644a
parent3cdb016a9614ee7d29a10bfba814a35dacb98e5d (diff)
downloaddrakx-d4676cdb7c361ebf1d1f022a8c7aa6cc1cd63754.tar
drakx-d4676cdb7c361ebf1d1f022a8c7aa6cc1cd63754.tar.gz
drakx-d4676cdb7c361ebf1d1f022a8c7aa6cc1cd63754.tar.bz2
drakx-d4676cdb7c361ebf1d1f022a8c7aa6cc1cd63754.tar.xz
drakx-d4676cdb7c361ebf1d1f022a8c7aa6cc1cd63754.zip
(getUPS) fix port for MGE's USB UPSes
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 4a1eea66d..02b5a36f4 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -584,7 +584,7 @@ sub getUPS() {
(grep { $_->{description} =~ /American Power Conversion\|Back-UPS/ } @usb_devices),
(map {
($_->{name} = $_->{description}) =~ s/.*\|//;
- $_->{port} = "/dev/"; # FIXME
+ $_->{port} = "auto";
$_->{media_type} = 'UPS';
$_->{driver} =~ s/^UPS://;
$_;