aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-04 03:28:15 +0000
committerBill Nottingham <notting@redhat.com>2003-09-04 03:28:15 +0000
commitcebfd4564297b55220f45075547fa7ca8427a1b9 (patch)
tree3e76be95402c33a9b7db74dfa5838f611d486b58
parent408db2940def31c73bec863c0f48ce8e0ac13aba (diff)
downloadinitscripts-cebfd4564297b55220f45075547fa7ca8427a1b9.tar
initscripts-cebfd4564297b55220f45075547fa7ca8427a1b9.tar.gz
initscripts-cebfd4564297b55220f45075547fa7ca8427a1b9.tar.bz2
initscripts-cebfd4564297b55220f45075547fa7ca8427a1b9.tar.xz
initscripts-cebfd4564297b55220f45075547fa7ca8427a1b9.zip
unset ONPARENT this way
-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