summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-26 15:14:10 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-26 15:14:10 +0000
commit57b12faad0773e35f5cf27209eb2588427767441 (patch)
tree57d6b72fc8286bb81809a91647088e81a19e45b0 /perl-install
parent0ef10f9c0842747a2d879947d72eae1a7669b866 (diff)
downloaddrakx-backup-do-not-use-57b12faad0773e35f5cf27209eb2588427767441.tar
drakx-backup-do-not-use-57b12faad0773e35f5cf27209eb2588427767441.tar.gz
drakx-backup-do-not-use-57b12faad0773e35f5cf27209eb2588427767441.tar.bz2
drakx-backup-do-not-use-57b12faad0773e35f5cf27209eb2588427767441.tar.xz
drakx-backup-do-not-use-57b12faad0773e35f5cf27209eb2588427767441.zip
added probe separately to handle drakconnect horror.
Diffstat (limited to 'perl-install')
-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).