diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2004-01-21 17:54:00 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2004-01-21 17:54:00 +0000 |
commit | e37db334857e6bc3c09086fdb10457feb0036b0a (patch) | |
tree | 8e2b706b91349d37217a6b7b5a26ce242a39aeba /perl-install | |
parent | 31558e6e9c5d12b1fc84b8c63ad2a8bfb2977816 (diff) | |
download | drakx-e37db334857e6bc3c09086fdb10457feb0036b0a.tar drakx-e37db334857e6bc3c09086fdb10457feb0036b0a.tar.gz drakx-e37db334857e6bc3c09086fdb10457feb0036b0a.tar.bz2 drakx-e37db334857e6bc3c09086fdb10457feb0036b0a.tar.xz drakx-e37db334857e6bc3c09086fdb10457feb0036b0a.zip |
retreive vpi and vci from config file for speedtouch
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/adsl.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 6b6fe92d5..d05f87c86 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -99,6 +99,7 @@ sub adsl_probe_info { } ($login) = map { if_(/\sname\s+([^ \n]+)/, $1) } cat_($pptp_file) if (! defined $adsl_type || $adsl_type =~ /pptp/) && -r $pptp_file; my $passwd = passwd_by_login($login); + $adsl_type eq 'speedtouch' and ($netc->{vpivci}) = map { if_(/^.*-vpi\s+(\d+)\s+-vci\s+(\d+)/, "$1_$2") } cat_("$prefix/etc/ppp/peers/adsl"); $pppoe_conf{DNS1} ||= ''; $pppoe_conf{DNS2} ||= ''; add2hash($netc, { dnsServer2 => $pppoe_conf{DNS1}, dnsServer3 => $pppoe_conf{DNS2}, DOMAINNAME2 => '' }); |