summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-26 10:14:49 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-26 10:14:49 +0000
commit4cac51cebb6fbf580654ca269e6e303744ee0e48 (patch)
tree9afd30f7e721d2555bd10373375387e738d038db /perl-install/network
parentbc8791eeda7d7340df93ffe176406ddfd8e29dd8 (diff)
downloaddrakx-4cac51cebb6fbf580654ca269e6e303744ee0e48.tar
drakx-4cac51cebb6fbf580654ca269e6e303744ee0e48.tar.gz
drakx-4cac51cebb6fbf580654ca269e6e303744ee0e48.tar.bz2
drakx-4cac51cebb6fbf580654ca269e6e303744ee0e48.tar.xz
drakx-4cac51cebb6fbf580654ca269e6e303744ee0e48.zip
(adsl_conf_backend) install needed packages
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/adsl.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 09d295840..7741dd1f9 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -161,6 +161,12 @@ lcp-echo-interval 0)
if ($adsl_type =~ /^pp/) {
mkdir_p("$::prefix/etc/ppp");
$in->do_pkgs->install('ppp') if !$>;
+ my %packages = (
+ pppoa => [ qw(ppp-pppoatm) ],
+ pppoe => [ qw(ppp-pppoe rp-pppoe) ],
+ pptp => [ qw(pptp-linux pptp-adsl) ],
+ );
+ $in->do_pkgs->install(@{$packages{$adsl_type}}) if !$>;
output("$::prefix/etc/ppp/options",
qq(lock
noipdefault