summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-10-03 07:52:04 +0000
committerOlivier Blin <oblin@mandriva.org>2004-10-03 07:52:04 +0000
commita1c7f4b63de4e096cb1ac62db6a6e7ce0d87c62a (patch)
treec14b5a9e10d3d0361eea28839b9d58009957ce22
parent501dbc162c88a19d3603eadbeb31eaa8d39a6988 (diff)
downloaddrakx-a1c7f4b63de4e096cb1ac62db6a6e7ce0d87c62a.tar
drakx-a1c7f4b63de4e096cb1ac62db6a6e7ce0d87c62a.tar.gz
drakx-a1c7f4b63de4e096cb1ac62db6a6e7ce0d87c62a.tar.bz2
drakx-a1c7f4b63de4e096cb1ac62db6a6e7ce0d87c62a.tar.xz
drakx-a1c7f4b63de4e096cb1ac62db6a6e7ce0d87c62a.zip
(configureNetwork) load only ethernet modules before easy_dhcp (this
will load firewire modules after other ethernet modules, so firewire interfaces won't always take the name eth0)
-rw-r--r--perl-install/install_steps_interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 8e8b7a16d..d4290307f 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -789,7 +789,8 @@ sub updateModulesFromFloppy {
sub configureNetwork {
my ($o) = @_;
require network::network;
- modules::load_category($o->{modules_conf}, 'network/*');
+ require network::ethernet;
+ modules::load_category($o->{modules_conf}, network::ethernet::get_eth_categories());
network::network::easy_dhcp($o->{modules_conf}, $o->{netc}, $o->{intf}) and $o->{netcnx}{type} = 'lan';
$o->SUPER::configureNetwork;
}