diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-14 16:38:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-14 16:38:07 +0000 |
commit | 63fdafa164398458e2345bbb3065026af2ebedd4 (patch) | |
tree | f66cd251d6458ae10d09fe9b94aa1d7b703d34db | |
parent | 103847fa59013c56cca74894ea455467089879a7 (diff) | |
download | drakx-63fdafa164398458e2345bbb3065026af2ebedd4.tar drakx-63fdafa164398458e2345bbb3065026af2ebedd4.tar.gz drakx-63fdafa164398458e2345bbb3065026af2ebedd4.tar.bz2 drakx-63fdafa164398458e2345bbb3065026af2ebedd4.tar.xz drakx-63fdafa164398458e2345bbb3065026af2ebedd4.zip |
remove net aliases if needed
-rwxr-xr-x | perl-install/standalone/service_harddrake | 6 |
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]); |