From e02f53b346914952de84c16b832850134db9aca1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 3 Oct 2004 16:46:25 +0000 Subject: do not lose ONBOOT setting for manual/dhcp dsl connections --- perl-install/network/netconnect.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 02d066593..43cdda6fc 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -1203,6 +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))); 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->(); -- cgit v1.2.1