From a371d89e99aecfc02394276c0546f8a1ec3d39dc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Mar 2004 10:50:16 +0000 Subject: only warn about 2.4.x kernel for bewan modem --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index a402f014b..dd4889c75 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -638,7 +638,7 @@ killall pppd 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 { - $in->ask_warn(N("Warning"), N("Sorry, we support only 2.4 and above kernels.")) if c::kernel_version() !~ /^\Q2.4/; + $in->ask_warn(N("Warning"), N("Sorry, we support only 2.4 and above kernels.")) if $ntf_name eq 'bewan' && c::kernel_version() !~ /^\Q2.4/; return 0; }, post => sub { -- cgit v1.2.1