summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-05 16:37:52 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-05 16:37:52 +0000
commitf9d763a52281f46f4e3bd9d58918e2b7057d8eee (patch)
treea599808fe77d230c45fddede94ddad9fa72d2106
parente25a2b8b989e9a235c6a0b34173846d43807f207 (diff)
downloaddrakx-backup-do-not-use-f9d763a52281f46f4e3bd9d58918e2b7057d8eee.tar
drakx-backup-do-not-use-f9d763a52281f46f4e3bd9d58918e2b7057d8eee.tar.gz
drakx-backup-do-not-use-f9d763a52281f46f4e3bd9d58918e2b7057d8eee.tar.bz2
drakx-backup-do-not-use-f9d763a52281f46f4e3bd9d58918e2b7057d8eee.tar.xz
drakx-backup-do-not-use-f9d763a52281f46f4e3bd9d58918e2b7057d8eee.zip
support more slmodems
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 8bec633a1..a345f8264 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -556,8 +556,8 @@ Take a look at http://www.linmodems.org"),
$driver =~ /^Hcf:/ and $type = "hcfmodem";
$driver =~ /^Hsf:/ and $type = "hsfmodem";
$driver =~ /^LT:/ and $type = "ltmodem";
- #- we need a better agreement to use list_modules::category2modules('network/slmodem')
- member($driver, qw(slamr slusb)) and $type = "slmodem";
+ #- we may need a better agreement to use list_modules::category2modules('network/slmodem')
+ member($driver, list_modules::category2modules('network/slmodem')) and $type = "slmodem";
if ($type && (my $packages = $in->do_pkgs->check_kernel_module_packages("$type-kernel", if_(! -f $pkgs2path{$type}, $type)))) {
if ($in->do_pkgs->install(@$packages)) {
# start slmodemd when installing it (thus preventing the average user to have to restart