summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-12-10 13:25:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-12-10 13:25:41 +0000
commitd2433a73d2802850ba172e0afd7f7d69d31b96a8 (patch)
tree1531842601eab935188e0856ea4011191db75b90 /perl-install/network/netconnect.pm
parente3cb98606052e9b30b047cfaeecca48d0f248590 (diff)
downloaddrakx-backup-do-not-use-d2433a73d2802850ba172e0afd7f7d69d31b96a8.tar
drakx-backup-do-not-use-d2433a73d2802850ba172e0afd7f7d69d31b96a8.tar.gz
drakx-backup-do-not-use-d2433a73d2802850ba172e0afd7f7d69d31b96a8.tar.bz2
drakx-backup-do-not-use-d2433a73d2802850ba172e0afd7f7d69d31b96a8.tar.xz
drakx-backup-do-not-use-d2433a73d2802850ba172e0afd7f7d69d31b96a8.zip
perl_checker fixes
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index f3da861c4..d43b22bfa 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -398,7 +398,7 @@ PPPConnectionName=$modem->{connection}
PPPProviderDomain=$modem->{domain}
PPPLogin=$modem->{login}
PPPAuthentication=$modem->{auth}
-PPPSpecialCommand=" . ($netcnx->{type} eq 'isdn_external' ? $netcnx->{isdn_external}{special_command} : '') if ($conf{modem});
+PPPSpecialCommand=" . ($netcnx->{type} eq 'isdn_external' ? $netcnx->{isdn_external}{special_command} : '') if $conf{modem};
$str .= "
ADSLInterfacesList=
@@ -407,7 +407,7 @@ ADSLType=" . ($netcnx->{type} =~ /adsl/ ? $netcnx->{type} : '') . "
ADSLProviderDomain=$netc->{DOMAINNAME2}
ADSLLogin=$adsl->{login}
" . #ADSLPassword=$adsl->{passwd}
-"DOMAINNAME2=$netc->{DOMAINNAME2}" if ($conf{adsl});
+"DOMAINNAME2=$netc->{DOMAINNAME2}" if $conf{adsl};
output_with_perm("$prefix/etc/sysconfig/network-scripts/drakconnect_conf", 0600, $str);
my $a = $netcnx->{PROFILE} ? $netcnx->{PROFILE} : "default";