From ab0e8d32fc1d00850b181ba219dd6c802005e2b1 Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Tue, 20 Apr 2004 14:16:40 +0000 Subject: move reread_net_conf to tools.pm --- perl-install/network/tools.pm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'perl-install/network') diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index d908ceabb..082a6bda4 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -221,4 +221,12 @@ sub is_dynamic_host { any { defined $_->{DHCP_HOSTNAME} } values %$intf; } +sub reread_net_conf { + my ($netcnx, $netc, $intf) = @_; + network::netconnect::read_net_conf('', $netcnx, $netc); + modules::load_category('net'); + network::netconnect::load_conf($netcnx, $netc, $intf); + network::network::probe_netcnx_type('', $netc, $intf, $netcnx); +} + 1; -- cgit v1.2.1