summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2004-05-27 17:08:37 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2004-05-27 17:08:37 +0000
commit6d78a473df41106b7108b44466ed2bbd3ed27402 (patch)
treebf72a601c82e87b299020fccdbd31d37567ac76c
parentd5863c1e0962f882d2051e5c5d052c6cad4c4ba2 (diff)
downloaddrakx-6d78a473df41106b7108b44466ed2bbd3ed27402.tar
drakx-6d78a473df41106b7108b44466ed2bbd3ed27402.tar.gz
drakx-6d78a473df41106b7108b44466ed2bbd3ed27402.tar.bz2
drakx-6d78a473df41106b7108b44466ed2bbd3ed27402.tar.xz
drakx-6d78a473df41106b7108b44466ed2bbd3ed27402.zip
- call remove_initscript because internet service is dropped
- drop write_initscript call
-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 eeba931d0..d61673cf3 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -114,6 +114,7 @@ sub real_main {
3 => N("Protocol for the rest of the world\nNo D-Channel (leased lines)"),
);
+ network::tools::remove_initscript();
init_globals($in);
$netc->{NET_DEVICE} = $netcnx->{NET_DEVICE} if $netcnx->{NET_DEVICE}; # REDONDANCE with read_conf. FIXME
@@ -184,7 +185,6 @@ sub real_main {
if ($netc->{internet_cnx_choice}) {
write_cnx_script($netc);
$netcnx->{type} = $netc->{internet_cnx}{$netc->{internet_cnx_choice}}{type} if $netc->{internet_cnx_choice};
- write_initscript();
} else {
undef $netc->{NET_DEVICE};
}