diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-28 08:51:17 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-28 08:51:17 +0000 |
commit | ec797f5da72720ec6e47fa4e266883bbe6902ac0 (patch) | |
tree | c07d9ffa4c411b64d717c4726894354c2f3f7ee9 /perl-install | |
parent | c635a97bf47b8d45b2e2762445f980bf6e36ab5d (diff) | |
download | drakx-backup-do-not-use-ec797f5da72720ec6e47fa4e266883bbe6902ac0.tar drakx-backup-do-not-use-ec797f5da72720ec6e47fa4e266883bbe6902ac0.tar.gz drakx-backup-do-not-use-ec797f5da72720ec6e47fa4e266883bbe6902ac0.tar.bz2 drakx-backup-do-not-use-ec797f5da72720ec6e47fa4e266883bbe6902ac0.tar.xz drakx-backup-do-not-use-ec797f5da72720ec6e47fa4e266883bbe6902ac0.zip |
do not write a blank "pty" option in ppp config file is there is no
pty command (should fix some problems with Bewan modems)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/adsl.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index d5705d5da..676aa0c45 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -235,6 +235,7 @@ usepeerdns defaultroute) ); + my $pty_option = $modems{$adsl_device}{server}{$adsl_type} && "pty $modems{$adsl_device}{server}{$adsl_type}"; output("$::prefix/etc/ppp/peers/adsl", qq(noauth noipdefault @@ -248,7 +249,7 @@ maxfail 25 persist usepeerdns defaultroute -pty $modems{$adsl_device}{server}{$adsl_type} +$pty_option user "$adsl->{login}" )); |