diff options
-rw-r--r-- | perl-install/network/adsl.pm | 6 |
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 |