diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-09 13:11:55 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-09 13:11:55 +0000 |
commit | 90679011a05cdc1e9c253c104c85701b6d285798 (patch) | |
tree | d8e4a3dc86b07699d8e726c9cd754939e46f6f30 /perl-install | |
parent | 39f380e94aeea93d3ccd1e38fc24f75f07471b8e (diff) | |
download | drakx-90679011a05cdc1e9c253c104c85701b6d285798.tar drakx-90679011a05cdc1e9c253c104c85701b6d285798.tar.gz drakx-90679011a05cdc1e9c253c104c85701b6d285798.tar.bz2 drakx-90679011a05cdc1e9c253c104c85701b6d285798.tar.xz drakx-90679011a05cdc1e9c253c104c85701b6d285798.zip |
- fix priority
- add a log
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/network.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index b5648a6d0..95ae5f039 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -426,7 +426,9 @@ sub easy_dhcp { my @all_cards = network::ethernet::conf_network_card_backend(); #- only for a single network card - any { $_->[0] eq 'eth0' } @all_cards && every { $_->[0] ne 'eth1' } @all_cards or return; + (any { $_->[0] eq 'eth0' } @all_cards) && (every { $_->[0] ne 'eth1' } @all_cards) or return; + + log::l("easy_dhcp: found eth0"); network::ethernet::conf_network_card_backend($netc, $intf, 'dhcp', 'eth0'); |