From 57b12faad0773e35f5cf27209eb2588427767441 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 26 Feb 2003 15:14:10 +0000 Subject: added probe separately to handle drakconnect horror. --- perl-install/network/network.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install/network') diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index c04cfcca6..64e166935 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -467,6 +467,10 @@ sub read_all_conf { add2hash($intf, { getVarsFromSh("$prefix/etc/sysconfig/network-scripts/$_") }); } } + $netcnx->{type} or probe_netcnx_type($prefix, $netc, $intf, $netcnx); +} +sub probe_netcnx_type { + my ($prefix, undef, $intf, $netcnx) = @_; #- try to probe $netcnx->{type} which is used almost everywhere. unless ($netcnx->{type}) { #- ugly hack to determine network type (avoid saying not configured in summary). -- cgit v1.2.1