summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-16 08:16:24 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-16 08:16:24 +0000
commit2f2305352526965f25465152b8bb7edcc924e03d (patch)
treef3a1846210baa8462701463b40e6dd9fd2930ac9 /perl-install/network/netconnect.pm
parent3f31e62065de3c16ba639716de4ce8391e169aa5 (diff)
downloaddrakx-2f2305352526965f25465152b8bb7edcc924e03d.tar
drakx-2f2305352526965f25465152b8bb7edcc924e03d.tar.gz
drakx-2f2305352526965f25465152b8bb7edcc924e03d.tar.bz2
drakx-2f2305352526965f25465152b8bb7edcc924e03d.tar.xz
drakx-2f2305352526965f25465152b8bb7edcc924e03d.zip
don't support all slmodem cards, our agreement forbid it :-/
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 115ddc5ca..8bb338a69 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -514,7 +514,8 @@ Take a look at http://www.linmodems.org"),
$driver =~ /^Hcf:/ and $type = "hcfpcimodem";
$driver =~ /^Hsf:/ and $type = "hsflinmodem";
$driver =~ /^LT:/ and $type = "ltmodem";
- member($driver, list_modules::category2modules('network/slmodem')) and $type = "slmodem";
+ #- we need a better agreement to use list_modules::category2modules('network/slmodem')
+ member($driver, qw(slamr slusb)) and $type = "slmodem";
$type = undef if !($type && (-f $pkgs2path{$type} || $in->do_pkgs->ensure_is_installed_if_available($type, $pkgs2path{$type})));
$modem->{device} = $devices{$type} || '/dev/modem' if $type; # automatically linked by /etc/devfs/conf entry
}