summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-28 13:03:23 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-28 13:03:23 +0000
commit989fa53616aae3a8b8d526f21ab14ec6c8edb7c8 (patch)
tree23b1c0e5939b418ddc5ce7982d98529dda80a674
parentfa496ea97563e3e85b156b25c43e74305151ebf4 (diff)
downloaddrakx-backup-do-not-use-989fa53616aae3a8b8d526f21ab14ec6c8edb7c8.tar
drakx-backup-do-not-use-989fa53616aae3a8b8d526f21ab14ec6c8edb7c8.tar.gz
drakx-backup-do-not-use-989fa53616aae3a8b8d526f21ab14ec6c8edb7c8.tar.bz2
drakx-backup-do-not-use-989fa53616aae3a8b8d526f21ab14ec6c8edb7c8.tar.xz
drakx-backup-do-not-use-989fa53616aae3a8b8d526f21ab14ec6c8edb7c8.zip
add LT WinModem support by searching ltmodem package.
-rw-r--r--perl-install/network/modem.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm
index 050743794..275d28fcd 100644
--- a/perl-install/network/modem.pm
+++ b/perl-install/network/modem.pm
@@ -246,16 +246,16 @@ sub ppp_choose {
1;
}
-#- TODO: add choice between hcf/hsf
+#- TODO: add choice between hcf/hsf/lt ?
sub winmodemConfigure {
my ($in, $netc) = @_;
my $type;
foreach (keys %{$netc->{autodetect}{winmodem}}) {
- my $temp;
- /Hcf/ and $temp = "hcf";
- /Hsf/ and $temp = "hsf";
- $temp and $in->do_pkgs->what_provides("${temp}linmodem") and $type = "${temp}linmodem";
+ /Hcf/ and $type = "hcfpcimodem";
+ /Hsf/ and $type = "hsflinmodem";
+ /LT/ and $type = "ltmodem";
+ $type && $in->do_pkgs->what_provides($type) or $type = undef;
}
$type || $in->ask_warn(N("Warning"), N("Your modem isn't supported by the system.