diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-06 05:58:46 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-06 05:58:46 +0000 |
commit | 7c3c28ff9fc9cd3b2c4a79a73aa88bbd7e389c62 (patch) | |
tree | 182e4c784a5fa5cd25643a4ea90e0c56977cfdc6 /perl-install/network | |
parent | 23916c8ddfbc8e9e4192e1e574786c890c6e74ab (diff) | |
download | drakx-7c3c28ff9fc9cd3b2c4a79a73aa88bbd7e389c62.tar drakx-7c3c28ff9fc9cd3b2c4a79a73aa88bbd7e389c62.tar.gz drakx-7c3c28ff9fc9cd3b2c4a79a73aa88bbd7e389c62.tar.bz2 drakx-7c3c28ff9fc9cd3b2c4a79a73aa88bbd7e389c62.tar.xz drakx-7c3c28ff9fc9cd3b2c4a79a73aa88bbd7e389c62.zip |
keep linmodem message for Hcf and Hsf
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/netconnect.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 135286a26..ce8784c3d 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -461,6 +461,12 @@ Take a look at http://www.linmodems.org"), [ { label => N("Modem"), type => "list", val => \$modem_name, allow_empty_list => 1, list => [ keys %{$netc->{autodetect}{modem}}, N("Manual choice") ], } ], }, + complete => sub { + if ($netc->{autodetect}{modem}{$modem_name}{driver} =~ /^H[cs]f:/ && c::kernel_version() !~ /^\Q2.4/) { + $in->ask_warn(N("Warning"), N("Sorry, we support only 2.4 and above kernels.")); + } + return 0; + }, post => sub { $modem ||= $netcnx->{modem} ||= {};; return 'choose_serial_port' if $modem_name eq N("Manual choice"); |