summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/adsl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index af2720a18..c5411926e 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -141,7 +141,8 @@ sync
sync
noaccomp),
aliases => [
- ['speedtch', 'off'], # disable kernel driver, we use userland stuff but for firmware upload
+ # disable kernel driver, we use userland stuff but for firmware upload
+ if_(c::kernel_version() =~ /^\Q2.4/, ['speedtch', 'off']),
['char-major-108', 'ppp_generic'],
['tty-ldisc-3', 'ppp_async'],
['tty-ldisc-13', 'n_hdlc'],