aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-aliases
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-01-14 04:21:32 +0000
committerBill Nottingham <notting@redhat.com>2003-01-14 04:21:32 +0000
commit99865bd61a090b1b5ffb0a7daeb6ba1f8410b9ac (patch)
tree9eb57d8f059471d7c410699c77c7c55743fb1d7c /sysconfig/network-scripts/ifup-aliases
parent07368e61606ad04c335dc910a1d6ef8b45acd39b (diff)
downloadinitscripts-99865bd61a090b1b5ffb0a7daeb6ba1f8410b9ac.tar
initscripts-99865bd61a090b1b5ffb0a7daeb6ba1f8410b9ac.tar.gz
initscripts-99865bd61a090b1b5ffb0a7daeb6ba1f8410b9ac.tar.bz2
initscripts-99865bd61a090b1b5ffb0a7daeb6ba1f8410b9ac.tar.xz
initscripts-99865bd61a090b1b5ffb0a7daeb6ba1f8410b9ac.zip
if 'ONPARENT=no' set, don't automatically bring up interfaces when
their parent interface is set up (#78992)
Diffstat (limited to 'sysconfig/network-scripts/ifup-aliases')
-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 0c695529..7d2f3903 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -293,7 +293,7 @@ for FILE in ifcfg-${parent_device}:*[^~] ; do
ini_env;
. $FILE;
[ -z "$DEVICE" ] && DEVICE=${FILE##ifcfg-}
- new_interface;
+ [ "$ONPARENT" != "no" -a "$ONPARENT" != "NO" ] && new_interface;
unset DEVICE
done