diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-07-20 15:01:53 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-07-20 15:01:53 +0000 |
commit | 7b228538a65ff70e6de18f0ac22175a79ac43269 (patch) | |
tree | 37d76d0547364818902a5978b60c2a05fcb04e65 | |
parent | 95f74df604483af6520bcb69bbfa48a030793226 (diff) | |
download | drakx-7b228538a65ff70e6de18f0ac22175a79ac43269.tar drakx-7b228538a65ff70e6de18f0ac22175a79ac43269.tar.gz drakx-7b228538a65ff70e6de18f0ac22175a79ac43269.tar.bz2 drakx-7b228538a65ff70e6de18f0ac22175a79ac43269.tar.xz drakx-7b228538a65ff70e6de18f0ac22175a79ac43269.zip |
use read_net_conf to avoid code duplication
-rw-r--r-- | perl-install/network/netconnect.pm | 5 |
1 files changed, 2 insertions, 3 deletions
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(); |