diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2004-04-20 14:16:40 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2004-04-20 14:16:40 +0000 |
commit | ab0e8d32fc1d00850b181ba219dd6c802005e2b1 (patch) | |
tree | 1985c4af1fff91a09da8951bc25ac733aeef514d /perl-install/network/tools.pm | |
parent | 52342db56170d1305eb24d61e6b48f43775c091c (diff) | |
download | drakx-backup-do-not-use-ab0e8d32fc1d00850b181ba219dd6c802005e2b1.tar drakx-backup-do-not-use-ab0e8d32fc1d00850b181ba219dd6c802005e2b1.tar.gz drakx-backup-do-not-use-ab0e8d32fc1d00850b181ba219dd6c802005e2b1.tar.bz2 drakx-backup-do-not-use-ab0e8d32fc1d00850b181ba219dd6c802005e2b1.tar.xz drakx-backup-do-not-use-ab0e8d32fc1d00850b181ba219dd6c802005e2b1.zip |
move reread_net_conf to tools.pm
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r-- | perl-install/network/tools.pm | 8 |
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; |