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