summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-08 01:21:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-08 01:21:42 +0000
commit149bb85110e0f6de5f16d8acbb636644c4fb114d (patch)
tree73a8d37d44e3e7f436118d7d62d353b8111f2324 /perl-install/network/ethernet.pm
parent0dbe0e74dd84b15f5949035455e3ef1fa568b728 (diff)
downloaddrakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.tar
drakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.tar.gz
drakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.tar.bz2
drakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.tar.xz
drakx-149bb85110e0f6de5f16d8acbb636644c4fb114d.zip
- rename add_alias() into set_alias()
- create set_sound_slot() and use it
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index ea322a7f2..6f9cc8c85 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -87,7 +87,7 @@ sub get_eth_cards_names {
foreach my $card (@all_cards) {
modules::remove_alias($card->[1]);
- modules::add_alias($card->[0], $card->[1]);
+ modules::set_alias($card->[0], $card->[1]);
}
{ map { $_->[0] => join(': ', $_->[0], $_->[2]) } @all_cards };
@@ -134,7 +134,7 @@ sub conf_network_card_backend {
sub configure_eth_aliases() {
foreach (detect_devices::getNet()) {
my $driver = c::getNetDriver($_) or next;
- modules::add_alias($_, $driver);
+ modules::set_alias($_, $driver);
}
}