diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-16 23:06:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-16 23:06:16 +0000 |
commit | 52de28e8236a8dcbdab261de4fa451b812823b43 (patch) | |
tree | 1583b8bfd8cf008f164777597a289d877eaab847 /perl-install/network/modem.pm | |
parent | 28144af329c8b25ceffda8eb107ccb61ec580648 (diff) | |
download | drakx-backup-do-not-use-52de28e8236a8dcbdab261de4fa451b812823b43.tar drakx-backup-do-not-use-52de28e8236a8dcbdab261de4fa451b812823b43.tar.gz drakx-backup-do-not-use-52de28e8236a8dcbdab261de4fa451b812823b43.tar.bz2 drakx-backup-do-not-use-52de28e8236a8dcbdab261de4fa451b812823b43.tar.xz drakx-backup-do-not-use-52de28e8236a8dcbdab261de4fa451b812823b43.zip |
(ppp_configure) reintroduce it for drakconnect's manager
Diffstat (limited to 'perl-install/network/modem.pm')
-rw-r--r-- | perl-install/network/modem.pm | 9 |
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}; |