aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-aliases
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-aliases')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index c5a9f840..7d0acc35 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -317,7 +317,8 @@ 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
+ is_ignored_file "$FILE" && continue
ini_env;
. $FILE;
[ -z "$DEVICE" ] && DEVICE=${FILE##ifcfg-}
@@ -325,8 +326,8 @@ for FILE in ifcfg-${parent_device}:*[^~] ; do
unset DEVICE
done
-for FILE in ifcfg-${parent_device}-range*[^~] ; do
-
+for FILE in ifcfg-${parent_device}-range* ; do
+ is_ignored_file "$FILE" && continue
ini_env;
. $FILE;