From c12736224ec5d7b0a6fd745fa0b0cd657ecf73a1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 7 May 2013 00:14:02 +0000 Subject: harddrake: move ethernet config in harddrake::autoconf::network_conf --- perl-install/standalone/service_harddrake | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'perl-install/standalone/service_harddrake') diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake index 2e96fe6c7..fd86fb4f2 100755 --- a/perl-install/standalone/service_harddrake +++ b/perl-install/standalone/service_harddrake @@ -320,15 +320,7 @@ foreach my $hw_class (@harddrake::data::tree) { harddrake::sound::configure_sound_slots($modules_conf); next; } elsif ($Ident eq "ETHERNET") { - $modules_conf->remove_alias_regexp('^(wlan|eth)[0-9]*$'); - modules::load_category($modules_conf, 'network/main|gigabit|usb|wireless|firewire|pcmcia'); - require network::connection::ethernet; - network::connection::ethernet::configure_eth_aliases($modules_conf); - require network::rfswitch; - network::rfswitch::configure(); - require network::shorewall; - network::shorewall::update_interfaces_list(); - $modules_conf->write; + harddrake::autoconf::network_conf($modules_conf); next; } elsif (member($Ident, qw(ATA_STORAGE CARD_READER RAID_STORAGE SATA_STORAGE SCSI_CONTROLLER))) { # set scsi_hostadapter in modprobe.conf: -- cgit v1.2.1