diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-31 17:08:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-31 17:08:53 +0000 |
commit | 9adb7784a680379645fe7529d11b39db341c8689 (patch) | |
tree | 4ee21db3ff311541ae2b2cd65f6ff3b7f122dc7e /perl-install/detect_devices.pm | |
parent | ef3d663e23748a54243f768c160b4df3678d1dc0 (diff) | |
download | drakx-backup-do-not-use-9adb7784a680379645fe7529d11b39db341c8689.tar drakx-backup-do-not-use-9adb7784a680379645fe7529d11b39db341c8689.tar.gz drakx-backup-do-not-use-9adb7784a680379645fe7529d11b39db341c8689.tar.bz2 drakx-backup-do-not-use-9adb7784a680379645fe7529d11b39db341c8689.tar.xz drakx-backup-do-not-use-9adb7784a680379645fe7529d11b39db341c8689.zip |
do not detect joystics as UPSes
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 3822260d3..d88cfd578 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -576,7 +576,7 @@ sub getNet() { #} sub getUPS() { - my @usb_devices = map { ($_->{name} = $_->{description}) =~ s/.*\|//; $_ } usb_probe(); + my @usb_devices = map { ($_->{name} = $_->{description}) =~ s/.*\|//; $_ } grep { $_->{description} !~ /Joystick/ } usb_probe(); # MGE serial PnP devices: (map { |