diff options
-rw-r--r-- | perl-install/install_steps.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 5c1c1d817..be34b1718 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -654,9 +654,10 @@ sub configureNetwork { } output "$o->{prefix}/etc/sysconfig/network-scripts/net_cnx_pg", "\n/usr/sbin/drakconnet\n"; + require network::netconnect; $o->{netcnx}{$_} = $o->{netc}{$_} foreach qw(NET_DEVICE NET_INTERFACE); - $o->{netcnx}{NET_INTERFACE} and set_net_conf($o->{netcnx}, $o->{netc}); - save_conf($o->{netcnx}, $o->{netc}, $o->{intf}); + $o->{netcnx}{NET_INTERFACE} and network::netconnect::set_net_conf($o->{netcnx}, $o->{netc}); + network::netconnect::save_conf($o->{netcnx}, $o->{netc}, $o->{intf}); } } |