summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/tools.pm8
1 files changed, 8 insertions, 0 deletions
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;