summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-11-28 15:31:18 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-11-28 15:31:18 +0000
commit661e027db76ed63c7bc63669dd058e138b5d44cb (patch)
treeefb15fb43df276f27936eb63c307716aec222d7a /perl-install/network
parent059db45e57357aeb9e998c80b45d7434aa3b6ac0 (diff)
downloaddrakx-backup-do-not-use-661e027db76ed63c7bc63669dd058e138b5d44cb.tar
drakx-backup-do-not-use-661e027db76ed63c7bc63669dd058e138b5d44cb.tar.gz
drakx-backup-do-not-use-661e027db76ed63c7bc63669dd058e138b5d44cb.tar.bz2
drakx-backup-do-not-use-661e027db76ed63c7bc63669dd058e138b5d44cb.tar.xz
drakx-backup-do-not-use-661e027db76ed63c7bc63669dd058e138b5d44cb.zip
(read_all_conf) ignore ifcfg-<intf>~ and the like entries
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index fdc233181..4f9dcfbe9 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -477,7 +477,7 @@ sub read_all_conf {
add2hash($netc, read_resolv_conf());
add2hash($netc, read_tmdns_conf("$prefix/etc/tmdns.conf")) if -r "$prefix/etc/tmdns.conf";
foreach (all("$prefix/etc/sysconfig/network-scripts")) {
- if (/^ifcfg-(\w+)/ && $1 ne 'lo') {
+ if (/^ifcfg-(\w+)$/ && $1 ne 'lo') {
my $intf = findIntf($intf, $1);
add2hash($intf, { getVarsFromSh("$prefix/etc/sysconfig/network-scripts/$_") });
}