summaryrefslogtreecommitdiffstats
path: root/perl-install/network/modem.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/modem.pm')
-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};