summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-18 18:45:46 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-18 18:45:46 +0000
commit898cbd3ba14d07a3bb8121b397926277a0f30366 (patch)
treefdeea7885d13986cb9badc90b917c988bc76a4f7 /perl-install/network/netconnect.pm
parent5c0345ea42c4a037d0c07d88ae2be0d422f3b3af (diff)
downloaddrakx-898cbd3ba14d07a3bb8121b397926277a0f30366.tar
drakx-898cbd3ba14d07a3bb8121b397926277a0f30366.tar.gz
drakx-898cbd3ba14d07a3bb8121b397926277a0f30366.tar.bz2
drakx-898cbd3ba14d07a3bb8121b397926277a0f30366.tar.xz
drakx-898cbd3ba14d07a3bb8121b397926277a0f30366.zip
clean includes
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r--perl-install/network/netconnect.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index d5003dfc6..bea7ede93 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -4,6 +4,7 @@ use strict;
use common;
use log;
use detect_devices;
+use list_modules;
use run_program;
use modules;
use any;
@@ -132,7 +133,6 @@ sub real_main {
modules::interactive::load_category($in, $modules_conf, list_modules::ethernet_categories(), !$::expert, 0);
@all_cards = network::ethernet::get_eth_cards($modules_conf);
%all_eth_intf = network::ethernet::get_eth_cards_names(@all_cards); #- needed not to loose GATEWAYDEV
- require list_modules; #- FIXME: check if useful
%eth_intf = map { $_->[0] => join(': ', $_->[0], $_->[2]) }
grep { to_bool($is_wireless) == detect_devices::is_wireless_interface($_->[0]) } @all_cards;
};
@@ -960,7 +960,6 @@ You can find a driver on http://eciadsl.flashtux.org/"),
},
post => sub {
if ($ntf_name eq "Manually load a driver") {
- require network::ethernet;
modules::interactive::load_category__prompt($in, $modules_conf, list_modules::ethernet_categories());
return 'lan';
} elsif ($ntf_name eq "Use a Windows driver (with ndiswrapper)") {