diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-20 16:11:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-20 16:11:31 +0000 |
commit | 4be7f0370e0f77634ddc3e7e228df34050374d69 (patch) | |
tree | 6bf95fddc9332f0709ad841d54ce214e04fa39ea | |
parent | 88c2a1ec6b2c8e3c8b4119021137d4438bbc4262 (diff) | |
download | drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.tar drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.tar.gz drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.tar.bz2 drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.tar.xz drakx-4be7f0370e0f77634ddc3e7e228df34050374d69.zip |
read back auth method
-rw-r--r-- | perl-install/network/netconnect.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index b9b2b98df..355aa8be4 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -432,6 +432,7 @@ killall pppd $modem ||= $netcnx->{$netcnx->{type}}; $modem->{device} ||= $first_modem->()->{device}; my %l = getVarsFromSh("$::prefix/usr/share/config/kppprc"); + $modem->{auth} ||= { 0 => N("Script-based"), 1 => N("PAP"), 2 => N("Terminal-based"), 3 => N("CHAP"), 4 => N("PAP/CHAP") }->{$l{Authentication}}; $modem->{$_} ||= $l{$_} foreach qw (Gateway IPAddr SubnetMask); $modem->{connection} ||= $l{Name}; $modem->{domain} ||= $l{Domain}; |