summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-16 23:06:16 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-16 23:06:16 +0000
commit52de28e8236a8dcbdab261de4fa451b812823b43 (patch)
tree1583b8bfd8cf008f164777597a289d877eaab847 /perl-install/network
parent28144af329c8b25ceffda8eb107ccb61ec580648 (diff)
downloaddrakx-52de28e8236a8dcbdab261de4fa451b812823b43.tar
drakx-52de28e8236a8dcbdab261de4fa451b812823b43.tar.gz
drakx-52de28e8236a8dcbdab261de4fa451b812823b43.tar.bz2
drakx-52de28e8236a8dcbdab261de4fa451b812823b43.tar.xz
drakx-52de28e8236a8dcbdab261de4fa451b812823b43.zip
(ppp_configure) reintroduce it for drakconnect's manager
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/modem.pm9
1 files changed, 9 insertions, 0 deletions
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};