summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-07-19 23:53:04 +0000
committerdamien <damien@mandriva.com>2001-07-19 23:53:04 +0000
commit393a1f6897917ed72268218092ffd3499b5313b2 (patch)
tree81c081c62cbf5b5d3596a6353f53fa1a04848d7e /perl-install
parent3cc427e155f660140ed357945bd64d59ee626fb7 (diff)
downloaddrakx-backup-do-not-use-393a1f6897917ed72268218092ffd3499b5313b2.tar
drakx-backup-do-not-use-393a1f6897917ed72268218092ffd3499b5313b2.tar.gz
drakx-backup-do-not-use-393a1f6897917ed72268218092ffd3499b5313b2.tar.bz2
drakx-backup-do-not-use-393a1f6897917ed72268218092ffd3499b5313b2.tar.xz
drakx-backup-do-not-use-393a1f6897917ed72268218092ffd3499b5313b2.zip
correct bug. thanx to the little stagiaire.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 03b7d7fd5..36c319c7d 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -492,6 +492,7 @@ sub read_net_conf {
add2hash($netcnx, { getVarsFromSh("$prefix/etc/sysconfig/draknet") });
$netc->{$_} = $netcnx->{$_} foreach 'NET_DEVICE', 'NET_INTERFACE';
#- print "type : $netcnx->{type}\n device : $netcnx->{NET_DEVICE}\n interface : $netcnx->{NET_INTERFACE}\n";
+ $netcnx->{$netcnx->{type}}||={};
add2hash($netcnx->{$netcnx->{type}}, { getVarsFromSh("$prefix/etc/sysconfig/draknet." . $netcnx->{type}) });
}