summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-09-05 17:13:09 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-09-05 17:13:09 +0000
commit562ef640e95787b33a5420597a39c601bfef8e5e (patch)
tree4c43e8ae3e1b961d02c438ce7f79f5f9e7a56ac8
parentb3744cad92fd206ec5236f0ee4093a3750827bbb (diff)
downloaddrakx-562ef640e95787b33a5420597a39c601bfef8e5e.tar
drakx-562ef640e95787b33a5420597a39c601bfef8e5e.tar.gz
drakx-562ef640e95787b33a5420597a39c601bfef8e5e.tar.bz2
drakx-562ef640e95787b33a5420597a39c601bfef8e5e.tar.xz
drakx-562ef640e95787b33a5420597a39c601bfef8e5e.zip
workaround messed up ppp0 configration
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 5f4e059e1..4e721d0a0 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -552,7 +552,7 @@ sub configureNetwork2 {
$netc->{wireless_eth} and $in->do_pkgs->install(qw(wireless-tools));
write_conf("$etc/sysconfig/network", $netc);
write_resolv_conf("$etc/resolv.conf", $netc) if ! $netc->{DHCP};
- write_interface_conf("$etc/sysconfig/network-scripts/ifcfg-$_->{DEVICE}", $_, $netc, $prefix) foreach grep { $_->{DEVICE} } values %$intf;
+ write_interface_conf("$etc/sysconfig/network-scripts/ifcfg-$_->{DEVICE}", $_, $netc, $prefix) foreach grep { $_->{DEVICE} ne 'ppp0' } values %$intf;
add2hosts("$etc/hosts", $netc->{HOSTNAME}, map { $_->{IPADDR} } values %$intf) if $netc->{HOSTNAME} && !$netc->{DHCP};
add2hosts("$etc/hosts", "localhost", "127.0.0.1");