summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2000-09-01 04:29:05 +0000
committerdamien <damien@mandriva.com>2000-09-01 04:29:05 +0000
commit9e6f0a8dc550dcbb0025b6c78e9938dade9831af (patch)
tree2c493e8cafe1ec92892e819e0d6134fc0a272b15 /perl-install/install_steps.pm
parente02218b14f952753aa6ddc3b6cfb9a067732919e (diff)
downloaddrakx-9e6f0a8dc550dcbb0025b6c78e9938dade9831af.tar
drakx-9e6f0a8dc550dcbb0025b6c78e9938dade9831af.tar.gz
drakx-9e6f0a8dc550dcbb0025b6c78e9938dade9831af.tar.bz2
drakx-9e6f0a8dc550dcbb0025b6c78e9938dade9831af.tar.xz
drakx-9e6f0a8dc550dcbb0025b6c78e9938dade9831af.zip
see changelog. Big changes.
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm20
1 files changed, 1 insertions, 19 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index d0a5b2b21..e21957845 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -477,25 +477,7 @@ sub selectMouse($) {
}
#------------------------------------------------------------------------------
-sub configureNetwork($) {
- my ($o) = @_;
- my $etc = "$o->{prefix}/etc";
-
- network::write_conf("$etc/sysconfig/network", $o->{netc});
- network::write_resolv_conf("$etc/resolv.conf", $o->{netc});
- network::write_interface_conf("$etc/sysconfig/network-scripts/ifcfg-$_->{DEVICE}", $_) foreach @{$o->{intf}};
- network::add2hosts("$etc/hosts", $o->{netc}{HOSTNAME}, map { $_->{IPADDR} } @{$o->{intf}});
- network::sethostname($o->{netc}) unless $::testing;
- network::addDefaultRoute($o->{netc}) unless $::testing;
-
- $o->pkg_install("dhcpcd") if grep { $_->{BOOTPROTO} =~ /^(dhcp)$/ } @{$o->{intf}};
- # Handle also pump (this is still in initscripts no?)
- $o->pkg_install("pump") if grep { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } @{$o->{intf}};
- #-res_init(); #- reinit the resolver so DNS changes take affect
-
- any::miscellaneousNetwork($o);
-}
-
+#- configureNetwork moved to network and is renamed.
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------