diff options
author | damien <damien@mandriva.com> | 2001-03-05 22:12:21 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-03-05 22:12:21 +0000 |
commit | 6d14550e8c328f055dde00bde5f3142a165fe148 (patch) | |
tree | 71198287f81242d9be60312a5d6d3383943c43af | |
parent | deedfb36c22129e6ded337e13b55b092263e7e4a (diff) | |
download | drakx-6d14550e8c328f055dde00bde5f3142a165fe148.tar drakx-6d14550e8c328f055dde00bde5f3142a165fe148.tar.gz drakx-6d14550e8c328f055dde00bde5f3142a165fe148.tar.bz2 drakx-6d14550e8c328f055dde00bde5f3142a165fe148.tar.xz drakx-6d14550e8c328f055dde00bde5f3142a165fe148.zip |
removed setdefaultroute and sethostname
-rw-r--r-- | perl-install/network.pm | 2 |
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'); |