diff options
author | damien <damien@mandriva.com> | 2001-04-10 03:57:00 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-04-10 03:57:00 +0000 |
commit | ece801ccfe724255b788a8bb4e2d1f9c7d2a738c (patch) | |
tree | f9768b889d0e1001aa1d8ff3782ef4fc19198229 /perl-install/network.pm | |
parent | 95fbbed1f6db7c968c00cba417432377cf155f3f (diff) | |
download | drakx-ece801ccfe724255b788a8bb4e2d1f9c7d2a738c.tar drakx-ece801ccfe724255b788a8bb4e2d1f9c7d2a738c.tar.gz drakx-ece801ccfe724255b788a8bb4e2d1f9c7d2a738c.tar.bz2 drakx-ece801ccfe724255b788a8bb4e2d1f9c7d2a738c.tar.xz drakx-ece801ccfe724255b788a8bb4e2d1f9c7d2a738c.zip |
get rid of ifcfg-
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r-- | perl-install/network.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm index 9a89fd0be..a1350dd8a 100644 --- a/perl-install/network.pm +++ b/perl-install/network.pm @@ -445,7 +445,7 @@ sub configureNetwork2 { $netc->{wireless_eth} and $install->('wireless-tools'); write_conf("$etc/sysconfig/network", $netc); write_resolv_conf("$etc/resolv.conf", $netc); - write_interface_conf("$etc/sysconfig/network-scripts/ifcfg-$_->{DEVICE}", $_) foreach values %$intf; + write_interface_conf("$etc/sysconfig/network-scripts/ifcfg-$_->{DEVICE}", $_) foreach grep { $_->{DEVICE} } values %$intf; add2hosts("$etc/hosts", $netc->{HOSTNAME}, map { $_->{IPADDR} } values %$intf); grep { $_->{BOOTPROTO} =~ /^(dhcp)$/ } values %$intf and $install && $install->('dhcpcd'); |