diff options
author | Bill Nottingham <notting@redhat.com> | 2003-01-14 04:21:32 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-01-14 04:21:32 +0000 |
commit | 99865bd61a090b1b5ffb0a7daeb6ba1f8410b9ac (patch) | |
tree | 9eb57d8f059471d7c410699c77c7c55743fb1d7c /sysconfig | |
parent | 07368e61606ad04c335dc910a1d6ef8b45acd39b (diff) | |
download | initscripts-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')
-rwxr-xr-x | sysconfig/network-scripts/ifup-aliases | 2 |
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 |