From 9519d51eb29b0a5881bc859e1c2b9b3b3a8abfa6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 2 Dec 2002 20:41:44 +0000 Subject: use output_with_perm() --- perl-install/any.pm | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 511db03ba..6193f848d 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -455,9 +455,7 @@ sub pppConfig { $toreplace{papname} = ($modem->{auth} eq 'PAP' || $modem->{auth} eq 'CHAP') && $toreplace{login}; #- build ifcfg-ppp0. - my $ifcfg = "$prefix/etc/sysconfig/network-scripts/ifcfg-ppp0"; - local *IFCFG; open IFCFG, ">$ifcfg" or die "Can't open $ifcfg"; - print IFCFG <$chat" or die "Can't open $chat"; - print CHAT <{special_command}) { - print CHAT <{special_command}' END } - print CHAT <{auth} eq 'Terminal-based' || $modem->{auth} eq 'Script-based') { - print CHAT <{auth} eq 'PAP' || $modem->{auth} eq 'CHAP') { #- need to create a secrets file for the connection. -- cgit v1.2.1