From a848b4b877d2c5933328b37d6a1bb1793281026d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 14 Nov 2003 17:46:05 +0000 Subject: fix bogus use of old netwok module instead of network::network (missed when cleaning up this) --- perl-install/install2.pm | 2 +- perl-install/network/netconnect.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-install/install2.pm b/perl-install/install2.pm index d898690df..47b519607 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -447,7 +447,7 @@ sub main { #- done before auto_install is called to allow the -IP feature on auto_install file name if (-e '/tmp/network') { - require network; + require network::network; #- get stage1 network configuration if any. log::l('found /tmp/network'); $o->{netc} ||= {}; diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index cdfd75425..9faf60002 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -8,7 +8,7 @@ use run_program; use modules; use any; use mouse; -use network; +use network::network; use network::tools; use MDK::Common::Globals "network", qw($in $prefix $connect_file $disconnect_file $connect_prog); @@ -300,7 +300,7 @@ sub load_conf { my $current = { getVarsFromSh("$prefix/etc/netprofile/current") }; $netcnx->{PROFILE} = $current->{PROFILE} || 'default'; - network::read_all_conf($prefix, $netc, $intf); + network::network::read_all_conf($prefix, $netc, $intf); } sub get_net_device() { -- cgit v1.2.1