summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-10-03 17:17:49 +0000
committerOlivier Blin <oblin@mandriva.org>2004-10-03 17:17:49 +0000
commit9a9b47236d0eb2a99f2868c31095644a32232200 (patch)
tree77166123b7e96a5b3acc9afabc5a76a3ebcc6c56
parente02f53b346914952de84c16b832850134db9aca1 (diff)
downloaddrakx-backup-do-not-use-9a9b47236d0eb2a99f2868c31095644a32232200.tar
drakx-backup-do-not-use-9a9b47236d0eb2a99f2868c31095644a32232200.tar.gz
drakx-backup-do-not-use-9a9b47236d0eb2a99f2868c31095644a32232200.tar.bz2
drakx-backup-do-not-use-9a9b47236d0eb2a99f2868c31095644a32232200.tar.xz
drakx-backup-do-not-use-9a9b47236d0eb2a99f2868c31095644a32232200.zip
perl_checker fix
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 43cdda6fc..f0cd7e7ea 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -1203,7 +1203,7 @@ It is not necessary on most networks."),
my ($res) = @_;
$netc->{at_boot} = $res;
$res = bool2yesno($res);
- $ethntf->{ONBOOT} = $res if ($netcnx->{type} eq 'adsl' && member($adsl_type, qw(manual dhcp)));
+ $ethntf->{ONBOOT} = $res if $netcnx->{type} eq 'adsl' && member($adsl_type, qw(manual dhcp));
my $ifcfg_file = "$::prefix/etc/sysconfig/network-scripts/ifcfg-$netc->{NET_INTERFACE}";
-f $ifcfg_file and substInFile { s/^ONBOOT.*\n//; $_ .= qq(ONBOOT=$res\n) if eof } $ifcfg_file;
return $after_start_on_boot_step->();