summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/adsl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 6ddd4f7a4..f8b6ce380 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -242,6 +242,7 @@ usepeerdns
defaultroute)
);
+ my $pty_option = $modems{$adsl_device}{server}{$adsl_type} && "pty $modems{$adsl_device}{server}{$adsl_type}";
output("$::prefix/etc/ppp/peers/ppp0",
qq(noauth
noipdefault
@@ -255,7 +256,7 @@ maxfail 25
persist
usepeerdns
defaultroute
-pty $modems{$adsl_device}{server}{$adsl_type}
+$pty_option
user "$adsl->{login}"
));