summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-05-20 15:26:55 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-05-20 15:26:55 +0000
commit0236bdaa904e4dd5944a6cef74ac52b2cea98a5a (patch)
treed776e7f1a23dc02446fcd70224f4d183d7b89275 /perl-install/network
parentcbbc1add8f8c4544de300f938a660e7aa723475a (diff)
downloaddrakx-backup-do-not-use-0236bdaa904e4dd5944a6cef74ac52b2cea98a5a.tar
drakx-backup-do-not-use-0236bdaa904e4dd5944a6cef74ac52b2cea98a5a.tar.gz
drakx-backup-do-not-use-0236bdaa904e4dd5944a6cef74ac52b2cea98a5a.tar.bz2
drakx-backup-do-not-use-0236bdaa904e4dd5944a6cef74ac52b2cea98a5a.tar.xz
drakx-backup-do-not-use-0236bdaa904e4dd5944a6cef74ac52b2cea98a5a.zip
#763 #2336 fix alias in modules.conf
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/ethernet.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index d1db337f0..a5aacee2e 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -168,6 +168,11 @@ sub configureNetwork {
my @all_cards = conf_network_card_backend($netc, $intf);
my @l = map { $_->[0] } @all_cards;
+ foreach (@all_cards) {
+ modules::remove_alias($_->[0]);
+ modules::add_alias($_->[0], $_->[1]);
+ }
+
configureNetwork_step_1:
$netc ||= {};
my $last; foreach (@all_cards) {