summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-11-10 09:54:02 +0000
committerFrancois Pons <fpons@mandriva.com>1999-11-10 09:54:02 +0000
commite493243f413480eaab130284867a2fcb0f2b649d (patch)
tree7801f6b1f64b2124d4a0781e94d7caa3179b3082 /perl-install/install_steps.pm
parentbff2e783f7d82e9450d38f931820f95f98012e58 (diff)
downloaddrakx-e493243f413480eaab130284867a2fcb0f2b649d.tar
drakx-e493243f413480eaab130284867a2fcb0f2b649d.tar.gz
drakx-e493243f413480eaab130284867a2fcb0f2b649d.tar.bz2
drakx-e493243f413480eaab130284867a2fcb0f2b649d.tar.xz
drakx-e493243f413480eaab130284867a2fcb0f2b649d.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index b3bc59a17..bcb327c72 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -276,13 +276,13 @@ sub pppConfig {
my @l = cat_("$o->{prefix}/etc/ppp/pap-secrets");
my $replaced = 0;
do { $replaced ||= 1
- if s/^\s*$toreplace{connection}\s+ppp0\s+(\S+)/$toreplace{connection} ppp0 $toreplace{passwd}/; } foreach @l;
+ if s/^\s*$toreplace{login}\s+ppp0\s+(\S+)/$toreplace{login} ppp0 $toreplace{passwd}/; } foreach @l;
if ($replaced) {
open F, ">$o->{prefix}/etc/ppp/pap-secrets" or die "Can't open $o->{prefix}/etc/ppp/pap-secrets $!";
print F @l;
} else {
open F, ">>$o->{prefix}/etc/ppp/pap-secrets" or die "Can't open $o->{prefix}/etc/ppp/pap-secrets $!";
- print F "$toreplace{connection} ppp0 $toreplace{passwd}\n";
+ print F "$toreplace{login} ppp0 $toreplace{passwd}\n";
}
} elsif ($o->{modem}{auth} eq 'Terminal-based' || $o->{modem}{auth} eq 'Script-based') {
template2file("/usr/share/ifcfg-ppp.script.in", "$o->{prefix}/etc/sysconfig/network-scripts/ifcfg-ppp0", %toreplace);