From 63fdafa164398458e2345bbb3065026af2ebedd4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 14 Nov 2003 16:38:07 +0000 Subject: remove net aliases if needed --- perl-install/standalone/service_harddrake | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perl-install/standalone/service_harddrake') 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]); -- cgit v1.2.1