summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-17 03:18:59 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-17 03:18:59 +0000
commitfbfa514278ff0322e488752df5765556d2b0a18a (patch)
treefbd8316e35fc53caac32d1c2de8abf7266f1d112
parent2f2305352526965f25465152b8bb7edcc924e03d (diff)
downloaddrakx-fbfa514278ff0322e488752df5765556d2b0a18a.tar
drakx-fbfa514278ff0322e488752df5765556d2b0a18a.tar.gz
drakx-fbfa514278ff0322e488752df5765556d2b0a18a.tar.bz2
drakx-fbfa514278ff0322e488752df5765556d2b0a18a.tar.xz
drakx-fbfa514278ff0322e488752df5765556d2b0a18a.zip
(adsl_conf_backend) make sure the speedtch kernel module won't be hidden
-rw-r--r--perl-install/network/adsl.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index c840cccb2..1666119aa 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -356,11 +356,13 @@ METRIC=$metric
#- set vpi, vci and encapsulation parameters for sagem
sagem_set_parameters($netc) if $adsl_device eq 'sagem';
- # set aliases:
+ #- set aliases
if (exists $modems{$adsl_device}{aliases}) {
$modules_conf->set_alias($_->[0], $_->[1]) foreach @{$modems{$adsl_device}{aliases}};
$::isStandalone and $modules_conf->write;
}
+ #- remove the "speedtch off" alias that was written by Mandrakelinux 10.0
+ $adsl_device eq 'speedtouch' and $modules_conf->remove_alias('speedtch');
if ($adsl_type eq "capi") {
require network::isdn;