aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-04 03:25:55 +0000
committerBill Nottingham <notting@redhat.com>2003-09-04 03:25:55 +0000
commit408db2940def31c73bec863c0f48ce8e0ac13aba (patch)
tree04a939b99c6f75a031b57146d1a3eb2de1eae963
parent5e9dd516e2e0b1634114a9df4c0dd297c140116f (diff)
downloadinitscripts-408db2940def31c73bec863c0f48ce8e0ac13aba.tar
initscripts-408db2940def31c73bec863c0f48ce8e0ac13aba.tar.gz
initscripts-408db2940def31c73bec863c0f48ce8e0ac13aba.tar.bz2
initscripts-408db2940def31c73bec863c0f48ce8e0ac13aba.tar.xz
initscripts-408db2940def31c73bec863c0f48ce8e0ac13aba.zip
unset ONPARENT after use (#101384)
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 72d5579c..580f9d67 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -295,6 +295,7 @@ 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