summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2002-10-28 17:53:44 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2002-10-28 17:53:44 +0000
commit7d7b0916501f9c4468eddf66e08e32ca95ef6176 (patch)
tree35b8bf5e2fcdb377dc7f980ccc3384c5da1c9d16 /perl-install/detect_devices.pm
parent495ec0912204622ddd7d3f75163f4c5485e04be4 (diff)
downloaddrakx-7d7b0916501f9c4468eddf66e08e32ca95ef6176.tar
drakx-7d7b0916501f9c4468eddf66e08e32ca95ef6176.tar.gz
drakx-7d7b0916501f9c4468eddf66e08e32ca95ef6176.tar.bz2
drakx-7d7b0916501f9c4468eddf66e08e32ca95ef6176.tar.xz
drakx-7d7b0916501f9c4468eddf66e08e32ca95ef6176.zip
s#$_->{driver} eq 'Bad:www.linmodems.org'#$_->{driver} =~ /www.linmodems.org/# to fit with ldetect
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 6b718fb0d..f1543f46c 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -393,7 +393,7 @@ sub getSerialModem {
}
sub getModem() {
- my @pci_modems = grep { $_->{driver} eq 'Bad:www.linmodems.org' } probeall(0);
+ my @pci_modems = grep { $_->{driver} =~ /www.linmodems.org/ } probeall(0);
my $serial_modem = {};
getSerialModem($serial_modem);
$serial_modem, @pci_modems;