summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-14 16:38:07 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-14 16:38:07 +0000
commit63fdafa164398458e2345bbb3065026af2ebedd4 (patch)
treef66cd251d6458ae10d09fe9b94aa1d7b703d34db
parent103847fa59013c56cca74894ea455467089879a7 (diff)
downloaddrakx-backup-do-not-use-63fdafa164398458e2345bbb3065026af2ebedd4.tar
drakx-backup-do-not-use-63fdafa164398458e2345bbb3065026af2ebedd4.tar.gz
drakx-backup-do-not-use-63fdafa164398458e2345bbb3065026af2ebedd4.tar.bz2
drakx-backup-do-not-use-63fdafa164398458e2345bbb3065026af2ebedd4.tar.xz
drakx-backup-do-not-use-63fdafa164398458e2345bbb3065026af2ebedd4.zip
remove net aliases if needed
-rwxr-xr-xperl-install/standalone/service_harddrake6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 87427a14a..f4b100458 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -69,6 +69,12 @@ foreach (@harddrake::data::tree) {
if ($Ident eq "AUDIO") {
# automatic sound slots configuration
harddrake::sound::configure_sound_slots();
+ } elsif ($Ident eq "ETHERNET") {
+ modules::remove_alias_regexp('^(wlan|eth)[0-9]*$');
+ modules::load_category('network/main|gigabit|usb');
+ require network::ethernet;
+ network::ethernet::configure_eth_aliases();
+ modules::write_conf();
}
next unless -x first(split /\s+/, $configurator_pool[0]);