summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-26 11:15:08 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-26 11:15:08 +0000
commit8016763831a75b63a692b9b9d1190a13a1b0899b (patch)
tree7bb8a3fca9e9662fe5827d7cca142e959150d9cd /perl-install
parent9a752d67cbc922fceff7cc006ff4441a56a49aaa (diff)
downloaddrakx-8016763831a75b63a692b9b9d1190a13a1b0899b.tar
drakx-8016763831a75b63a692b9b9d1190a13a1b0899b.tar.gz
drakx-8016763831a75b63a692b9b9d1190a13a1b0899b.tar.bz2
drakx-8016763831a75b63a692b9b9d1190a13a1b0899b.tar.xz
drakx-8016763831a75b63a692b9b9d1190a13a1b0899b.zip
warn than speedtouch only works with 2.4.x kernels for now
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index d02e3baf1..e24e7d9fa 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -650,6 +650,12 @@ killall pppd
name => N("ADSL configuration") . "\n\n" . N("Select the network interface to configure:"),
data => [ { label => N("Net Device"), type => "list", val => \$ntf_name, allow_empty_list => 1,
list => \@adsl_devices, format => sub { $eth_intf{$_[0]} || $adsl_devices{$_[0]} } } ],
+ complete => sub {
+ if (c::kernel_version() !~ /^\Q2.4/ && $ntf_name eq 'speedtouch') {
+ $in->ask_warn(N("Warning"), N("Sorry, we support only 2.4 and above kernels."));
+ }
+ return 0;
+ },
post => sub {
my %packages = (
'eci' => [ 'eciadsl', 'missing' ],