summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-09-07 06:00:36 +0000
committerOlivier Blin <oblin@mandriva.org>2004-09-07 06:00:36 +0000
commit997c4dbb2bb252c0b0920a67e9fa9a1781f3ef2d (patch)
tree6bc99fb7d1a95a751185d25c8746ceeb074589a5 /perl-install
parentdf13787df4ac0e13e49e72173731a8162a843ada (diff)
downloaddrakx-997c4dbb2bb252c0b0920a67e9fa9a1781f3ef2d.tar
drakx-997c4dbb2bb252c0b0920a67e9fa9a1781f3ef2d.tar.gz
drakx-997c4dbb2bb252c0b0920a67e9fa9a1781f3ef2d.tar.bz2
drakx-997c4dbb2bb252c0b0920a67e9fa9a1781f3ef2d.tar.xz
drakx-997c4dbb2bb252c0b0920a67e9fa9a1781f3ef2d.zip
load modules for pppoe connections during install (partial fix for #11189)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/adsl.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 97bd57d96..1615e07e6 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -333,6 +333,7 @@ METRIC=$metric
unless ($::isStandalone) {
my @modules = (@{$modems{$adsl_device}{modules}}, map { $_->[1] } @{$modems{$adsl_device}{aliases}});
+ @modules or @modules = qw(ppp_synctty ppp_async ppp_generic n_hdlc); #- required for pppoe/pptp connections
@modules && eval { modules::load(@modules) }
or log::l("failed to load " . join(',', @modules), " modules: $@");
$modems{$adsl_device}{start} and run_program::rooted($::prefix, $modems{$adsl_device}{start});