From 52de28e8236a8dcbdab261de4fa451b812823b43 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 16 Jan 2004 23:06:16 +0000 Subject: (ppp_configure) reintroduce it for drakconnect's manager --- perl-install/network/modem.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/perl-install/network/modem.pm b/perl-install/network/modem.pm index f1ef4d9f7..fa235aeb9 100644 --- a/perl-install/network/modem.pm +++ b/perl-install/network/modem.pm @@ -9,6 +9,15 @@ use mouse; use network::tools; +#-----modem conf +sub ppp_configure { + my ($in, $modem) = @_; + $modem or return; + $in->do_pkgs->install('ppp') if !$::testing; + $in->do_pkgs->install('kdenetwork-kppp') if $in->do_pkgs->is_installed('kdebase'); + ppp_configure_raw($modem); +} + sub ppp_configure_raw { my ($in, $netc, $modem) = @_; $netc->{DOMAINNAME2} = $modem->{domain}; -- cgit v1.2.1