summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-26 11:26:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-26 11:26:43 +0000
commit54b66a533f65923fbb70a54db54381abe2597e8d (patch)
treee21685660bf36c755bb603ed331949179631c660 /perl-install
parentb489f25ad2a3b4bf3c940562ea9d1fafe34227ea (diff)
downloaddrakx-54b66a533f65923fbb70a54db54381abe2597e8d.tar
drakx-54b66a533f65923fbb70a54db54381abe2597e8d.tar.gz
drakx-54b66a533f65923fbb70a54db54381abe2597e8d.tar.bz2
drakx-54b66a533f65923fbb70a54db54381abe2597e8d.tar.xz
drakx-54b66a533f65923fbb70a54db54381abe2597e8d.zip
misc space cleanups (thx perl_checko)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/adsl.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index f9d43e810..274391a63 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -75,9 +75,9 @@ sub adsl_probe_info {
}
($login) = map { if_(/\sname\s+([^ \n]+)/, $1) } cat_($pptp_file) if (! defined $adsl_type || $adsl_type eq 'pptp') && -r $pptp_file;
my $passwd = passwd_by_login($login);
- if (!$netc->{vpi} && !$netc->{vpi} &&member($adsl_modem, qw(eci speedtouch))) {
+ if (!$netc->{vpi} && !$netc->{vpi} && member($adsl_modem, qw(eci speedtouch))) {
($netc->{vpi}, $netc->{vci}) =
- (map { if_(/^.*-vpi\s+(\d+)\s+-vci\s+(\d+)/, $1, $2) } cat_("$::prefix/etc/ppp/peers/adsl")) ;
+ (map { if_(/^.*-vpi\s+(\d+)\s+-vci\s+(\d+)/, $1, $2) } cat_("$::prefix/etc/ppp/peers/adsl"));
}
$pppoe_conf{DNS1} ||= '';
$pppoe_conf{DNS2} ||= '';