summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-24 16:03:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-24 16:03:22 +0000
commit14373a782e55b16e71c5b89c236ce0ed8a9bc6b6 (patch)
tree5d5d350e2efee39c4bd9ddae7dfd0adace2d931d /perl-install/network
parent4fb43c75a5963465bab3870404ff75d1eecc9c37 (diff)
downloaddrakx-backup-do-not-use-14373a782e55b16e71c5b89c236ce0ed8a9bc6b6.tar
drakx-backup-do-not-use-14373a782e55b16e71c5b89c236ce0ed8a9bc6b6.tar.gz
drakx-backup-do-not-use-14373a782e55b16e71c5b89c236ce0ed8a9bc6b6.tar.bz2
drakx-backup-do-not-use-14373a782e55b16e71c5b89c236ce0ed8a9bc6b6.tar.xz
drakx-backup-do-not-use-14373a782e55b16e71c5b89c236ce0ed8a9bc6b6.zip
(isdn_read_config) do not overwrite current parameters with undefed ones
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/isdn.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index cb5622552..c41876b6d 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -95,7 +95,7 @@ sub isdn_read_config {
foreach ('link/myisp', 'card/mycard') {
my %conf = getVarsFromSh("$::prefix/etc/isdn/profile/$_");
foreach (keys %conf) {
- $isdn->{$match{$_}} = $conf{$_} if $match{$_};
+ $isdn->{$match{$_}} = $conf{$_} if $match{$_} && $conf{$_};
}
}