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-aliases2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 187137da..41525575 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -295,7 +295,9 @@ if [ "$BASH_VERSINFO" ]; then shopt -s nullglob; else allow_null_glob_expansion=
for FILE in ifcfg-${parent_device}:*[^~] ; do
ini_env;
. $FILE;
+ [ -z "$DEVICE" ] && DEVICE=${FILE##ifcfg-}
new_interface;
+ unset DEVICE
done
for FILE in ifcfg-${parent_device}-range*[^~] ; do