summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-30 22:35:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-30 22:35:37 +0000
commit144146a4fdfea33d8d6b6d704235260cdb1cadc6 (patch)
tree3d1f363713ffc4e290fc247aaf4fcf2be4dd6735 /perl-install/network/ethernet.pm
parent80b5e4e009276349e59ed2b9eefb5e42da3d073f (diff)
downloaddrakx-144146a4fdfea33d8d6b6d704235260cdb1cadc6.tar
drakx-144146a4fdfea33d8d6b6d704235260cdb1cadc6.tar.gz
drakx-144146a4fdfea33d8d6b6d704235260cdb1cadc6.tar.bz2
drakx-144146a4fdfea33d8d6b6d704235260cdb1cadc6.tar.xz
drakx-144146a4fdfea33d8d6b6d704235260cdb1cadc6.zip
adapt to new category network/gigabit (which used to be in network/main)
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index db95c1a17..9127a03c7 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -77,7 +77,7 @@ qq(
sub conf_network_card {
my ($netc, $intf, $type, $ipadr, $netadr) = @_;
#-type =static or dhcp
- modules::interactive::load_category($in, 'network/main|usb', !$::expert, 1);
+ modules::interactive::load_category($in, 'network/main|gigabit|usb', !$::expert, 1);
my @all_cards = conf_network_card_backend($netc, $intf, $type, undef, $ipadr, $netadr);
my $interface;
@all_cards == () and $in->ask_warn('', N("No ethernet network adapter has been detected on your system.
@@ -99,7 +99,7 @@ I cannot set up this connection type.")) and return;
1;
}
-#- conf_network_card_backend : configure the network cards and return the list of them, or configure one specified interface : WARNING, you have to setup the ethernet cards, by calling load_category($in, 'network/main|usb', !$::expert, 1) or load_category_backend before calling this function. Basically, you call this function in 2 times.
+#- conf_network_card_backend : configure the network cards and return the list of them, or configure one specified interface : WARNING, you have to setup the ethernet cards, by calling load_category($in, 'network/main|gigabit|usb', !$::expert, 1) or load_category_backend before calling this function. Basically, you call this function in 2 times.
#- input
#- $prefix
#- $netc
@@ -166,7 +166,7 @@ sub go_ethernet {
sub configureNetwork {
my ($netc, $intf, $_first_time) = @_;
local $_;
- modules::interactive::load_category($in, 'network/main|usb|pcmcia', !$::expert, 1) or return;
+ modules::interactive::load_category($in, 'network/main|gigabit|usb|pcmcia', !$::expert, 1) or return;
my @l = detect_devices::getNet() or die N("no network card found");
my @all_cards = conf_network_card_backend($netc, $intf, undef, undef, undef, undef);