From 661e027db76ed63c7bc63669dd058e138b5d44cb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 28 Nov 2003 15:31:18 +0000 Subject: (read_all_conf) ignore ifcfg-~ and the like entries --- perl-install/network/network.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/network/network.pm') 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/$_") }); } -- cgit v1.2.1