diff options
author | Francois Pons <fpons@mandriva.com> | 2003-02-26 15:14:10 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-02-26 15:14:10 +0000 |
commit | 57b12faad0773e35f5cf27209eb2588427767441 (patch) | |
tree | 57d6b72fc8286bb81809a91647088e81a19e45b0 /perl-install | |
parent | 0ef10f9c0842747a2d879947d72eae1a7669b866 (diff) | |
download | drakx-57b12faad0773e35f5cf27209eb2588427767441.tar drakx-57b12faad0773e35f5cf27209eb2588427767441.tar.gz drakx-57b12faad0773e35f5cf27209eb2588427767441.tar.bz2 drakx-57b12faad0773e35f5cf27209eb2588427767441.tar.xz drakx-57b12faad0773e35f5cf27209eb2588427767441.zip |
added probe separately to handle drakconnect horror.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/network.pm | 4 |
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). |