From d4676cdb7c361ebf1d1f022a8c7aa6cc1cd63754 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 5 Oct 2004 06:50:52 +0000 Subject: (getUPS) fix port for MGE's USB UPSes --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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://; $_; -- cgit v1.2.1