aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 580f9d67..f892571b 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -128,6 +128,7 @@ function ini_env ()
GATEWAY=$default_GATEWAY
GATEWAYDEV=$default_GATEWAYDEV
NO_ALIASROUTING=$default_NO_ALIASROUTING
+ ONPARENT=""
}
#
@@ -295,7 +296,6 @@ for FILE in ifcfg-${parent_device}:*[^~] ; do
[ -z "$DEVICE" ] && DEVICE=${FILE##ifcfg-}
[ "$ONPARENT" != "no" -a "$ONPARENT" != "NO" ] && new_interface;
unset DEVICE
- unset ONPARENT
done
for FILE in ifcfg-${parent_device}-range*[^~] ; do