aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-04-12 20:05:34 +0000
committerBill Nottingham <notting@redhat.com>2002-04-12 20:05:34 +0000
commit179ac8d6972c22d0ffcab2e04c3a12d95932ec91 (patch)
treeb3eba2d0d8ff525213d8ff002b6f5b5aef2cf62c /sysconfig
parent77eb67ee2284f721c51512a079f0357d765e6c96 (diff)
downloadinitscripts-179ac8d6972c22d0ffcab2e04c3a12d95932ec91.tar
initscripts-179ac8d6972c22d0ffcab2e04c3a12d95932ec91.tar.gz
initscripts-179ac8d6972c22d0ffcab2e04c3a12d95932ec91.tar.bz2
initscripts-179ac8d6972c22d0ffcab2e04c3a12d95932ec91.tar.xz
initscripts-179ac8d6972c22d0ffcab2e04c3a12d95932ec91.zip
don't process backup files (#60248, <dharris@drh.net>, <agrino@porsiempre.cl>)
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 3e4f8c8f..187137da 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -292,13 +292,13 @@ function new_interface ()
if [ "$BASH_VERSINFO" ]; then shopt -s nullglob; else allow_null_glob_expansion=foo; fi
-for FILE in ifcfg-${parent_device}:* ; do
+for FILE in ifcfg-${parent_device}:*[^~] ; do
ini_env;
. $FILE;
new_interface;
done
-for FILE in ifcfg-${parent_device}-range* ; do
+for FILE in ifcfg-${parent_device}-range*[^~] ; do
ini_env;
. $FILE;