From 6d14550e8c328f055dde00bde5f3142a165fe148 Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 5 Mar 2001 22:12:21 +0000 Subject: removed setdefaultroute and sethostname --- perl-install/network.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/network.pm b/perl-install/network.pm index 5e5ea0074..7db1c69b6 100644 --- a/perl-install/network.pm +++ b/perl-install/network.pm @@ -450,8 +450,6 @@ sub configureNetwork2 { write_resolv_conf("$etc/resolv.conf", $netc); write_interface_conf("$etc/sysconfig/network-scripts/ifcfg-$_->{DEVICE}", $_) foreach values %$intf; add2hosts("$etc/hosts", $netc->{HOSTNAME}, map { $_->{IPADDR} } values %$intf); - sethostname($netc) unless $::testing; - addDefaultRoute($netc) unless $::testing; grep { $_->{BOOTPROTO} =~ /^(dhcp)$/ } values %$intf and $install && $install->('dhcpcd'); grep { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } values %$intf and $install && $install->('pump'); -- cgit v1.2.1