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/harddrake/autoconf.pm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'perl-install/harddrake/autoconf.pm') diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm index a12662b60..a82446db6 100644 --- a/perl-install/harddrake/autoconf.pm +++ b/perl-install/harddrake/autoconf.pm @@ -25,7 +25,16 @@ sub xconf { } sub network_conf { - my ($obj) = @_; + my ($modules_conf) = @_; + $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; } sub mouse_conf { -- cgit v1.2.1