diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-09 03:26:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-09-09 03:26:05 +0000 |
commit | 4fa0259fe6754f62eca733d0fb1c234675d158aa (patch) | |
tree | f57acb73e2a55b83f6f3da7b13c505edaf1e576a /perl-install/network | |
parent | 4ab188852c99e238817facb0bc2fd38acc28241f (diff) | |
download | drakx-4fa0259fe6754f62eca733d0fb1c234675d158aa.tar drakx-4fa0259fe6754f62eca733d0fb1c234675d158aa.tar.gz drakx-4fa0259fe6754f62eca733d0fb1c234675d158aa.tar.bz2 drakx-4fa0259fe6754f62eca733d0fb1c234675d158aa.tar.xz drakx-4fa0259fe6754f62eca733d0fb1c234675d158aa.zip |
(read_all_conf) ignore rpm's backups (#10816)
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/network.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index b88a5afee..b9bb31227 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -339,6 +339,7 @@ sub read_all_conf { add2hash($netc, read_tmdns_conf()); foreach (all("$::prefix/etc/sysconfig/network-scripts")) { my ($device) = /^ifcfg-([A-Za-z0-9.:]+)$/; + next if $device =~ /.rpmnew$|.rpmsave$§/; if ($device && $device ne 'lo') { my $intf = findIntf($intf, $device); add2hash($intf, { getVarsFromSh("$::prefix/etc/sysconfig/network-scripts/$_") }); |