diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2003-09-05 17:13:09 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2003-09-05 17:13:09 +0000 |
commit | 562ef640e95787b33a5420597a39c601bfef8e5e (patch) | |
tree | 4c43e8ae3e1b961d02c438ce7f79f5f9e7a56ac8 /perl-install | |
parent | b3744cad92fd206ec5236f0ee4093a3750827bbb (diff) | |
download | drakx-backup-do-not-use-562ef640e95787b33a5420597a39c601bfef8e5e.tar drakx-backup-do-not-use-562ef640e95787b33a5420597a39c601bfef8e5e.tar.gz drakx-backup-do-not-use-562ef640e95787b33a5420597a39c601bfef8e5e.tar.bz2 drakx-backup-do-not-use-562ef640e95787b33a5420597a39c601bfef8e5e.tar.xz drakx-backup-do-not-use-562ef640e95787b33a5420597a39c601bfef8e5e.zip |
workaround messed up ppp0 configration
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/network.pm | 2 |
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"); |