From 7b228538a65ff70e6de18f0ac22175a79ac43269 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 20 Jul 2004 15:01:53 +0000 Subject: use read_net_conf to avoid code duplication --- perl-install/network/netconnect.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 2fb9fbdfa..84b7d096c 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -117,9 +117,8 @@ sub real_main { network::tools::remove_initscript(); init_globals($in); - $netc->{NET_DEVICE} = $netcnx->{NET_DEVICE} if $netcnx->{NET_DEVICE}; # REDONDANCE with read_conf. FIXME - $netc->{NET_INTERFACE} = $netcnx->{NET_INTERFACE} if $netcnx->{NET_INTERFACE}; # REDONDANCE with read_conf. FIXME - network::network::read_all_conf($::prefix, $netc, $intf); + + network::network::read_net_conf($netcnx, $netc, $intf); modules::mergein_conf(); -- cgit v1.2.1