summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-05-28 21:44:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-05-28 21:44:48 +0000
commitb65da2a64704d89ca02f3bc876c39afc75ba3294 (patch)
tree03e8f6d2745a978eca5bc735109b3e4cf86995ce
parentedda1920119dd43d04d3ca38d296993f352f2e95 (diff)
downloaddrakx-backup-do-not-use-b65da2a64704d89ca02f3bc876c39afc75ba3294.tar
drakx-backup-do-not-use-b65da2a64704d89ca02f3bc876c39afc75ba3294.tar.gz
drakx-backup-do-not-use-b65da2a64704d89ca02f3bc876c39afc75ba3294.tar.bz2
drakx-backup-do-not-use-b65da2a64704d89ca02f3bc876c39afc75ba3294.tar.xz
drakx-backup-do-not-use-b65da2a64704d89ca02f3bc876c39afc75ba3294.zip
(read_all_conf) read VLAN interfaces too
-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 a3719bba9..728e0f901 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -341,7 +341,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-([A-Za-z0-9:]+)$/ && $1 ne 'lo') {
+ if (/^ifcfg-([A-Za-z0-9.:]+)$/ && $1 ne 'lo') {
my $intf = findIntf($intf, $1);
add2hash($intf, { getVarsFromSh("$::prefix/etc/sysconfig/network-scripts/$_") });
}