diff options
author | damien <damien@mandriva.com> | 2002-03-08 16:26:24 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2002-03-08 16:26:24 +0000 |
commit | 6decae73a124dbb4ba9226e51d224eff3fa3a3aa (patch) | |
tree | bb66823da667cf1a3658e6b014875e7f18862c36 /perl-install/install_steps.pm | |
parent | 8571bb3cd5e1c0a433fd70bfcff2c3f6ae0f91e9 (diff) | |
download | drakx-backup-do-not-use-6decae73a124dbb4ba9226e51d224eff3fa3a3aa.tar drakx-backup-do-not-use-6decae73a124dbb4ba9226e51d224eff3fa3a3aa.tar.gz drakx-backup-do-not-use-6decae73a124dbb4ba9226e51d224eff3fa3a3aa.tar.bz2 drakx-backup-do-not-use-6decae73a124dbb4ba9226e51d224eff3fa3a3aa.tar.xz drakx-backup-do-not-use-6decae73a124dbb4ba9226e51d224eff3fa3a3aa.zip |
corrected network up/down when network install
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 207331e89..84abe01b0 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -1001,7 +1001,7 @@ sub upNetwork { if (length($o->{prefix}) > 1) { symlinkf("$o->{prefix}/etc/$_", "/etc/$_") foreach (qw(resolv.conf protocols services)); } - + $o->{method} eq "ftp" || $o->{method} eq "http" || $o->{method} eq "nfs" and return 1; modules::write_conf($o->{prefix}); if (hasNetwork($o)) { if ($o->{netcnx}{type} =~ /adsl|lan|cable/) { @@ -1023,6 +1023,7 @@ sub upNetwork { sub downNetwork { my ($o, $costlyOnly) = @_; + $o->{method} eq "ftp" || $o->{method} eq "http" || $o->{method} eq "nfs" and return 1; modules::write_conf($o->{prefix}); if (hasNetwork($o)) { if (!$costlyOnly) { |