From b772517db855fe47411d00f4964b945cb76ebd64 Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Fri, 4 Jun 2004 13:12:39 +0000 Subject: switch ONBOOT to on/off for isdn and adsl connections --- perl-install/network/netconnect.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index f9d7c241c..94c9d553d 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -1158,6 +1158,11 @@ N("Last but not least you can also type in your DNS server IP addresses."), post => sub { my ($res) = @_; $netc->{at_boot} = $res; + $res = bool2yesno($res); + substInFile { s/^ONBOOT.*\n//; $_ .= qq(ONBOOT=$res\n) if eof } + $netc->{internet_cnx_choice} eq 'adsl' ? + "$::prefix/etc/sysconfig/network-scripts/ifcfg-ppp0" : + "$::prefix/etc/sysconfig/network-scripts/ifcfg-ippp0"; return $after_start_on_boot_step->(); }, }, -- cgit v1.2.1