summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-03-05 22:12:21 +0000
committerdamien <damien@mandriva.com>2001-03-05 22:12:21 +0000
commit6d14550e8c328f055dde00bde5f3142a165fe148 (patch)
tree71198287f81242d9be60312a5d6d3383943c43af /perl-install
parentdeedfb36c22129e6ded337e13b55b092263e7e4a (diff)
downloaddrakx-6d14550e8c328f055dde00bde5f3142a165fe148.tar
drakx-6d14550e8c328f055dde00bde5f3142a165fe148.tar.gz
drakx-6d14550e8c328f055dde00bde5f3142a165fe148.tar.bz2
drakx-6d14550e8c328f055dde00bde5f3142a165fe148.tar.xz
drakx-6d14550e8c328f055dde00bde5f3142a165fe148.zip
removed setdefaultroute and sethostname
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network.pm2
1 files changed, 0 insertions, 2 deletions
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');