diff options
Diffstat (limited to 'sysconfig/network-scripts/ifup-aliases')
-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 d568d818..3195efda 100755 --- a/sysconfig/network-scripts/ifup-aliases +++ b/sysconfig/network-scripts/ifup-aliases @@ -320,7 +320,7 @@ for FILE in ifcfg-${parent_device}-range*[^~] ; do while [ $ipaddr_num -le $ipaddr_endnum ]; do IPADDR="$ipaddr_prefix.$ipaddr_num" DEVICE="$parent_device:$ipaddr_clonenum" - new_interface; + [ "$ONPARENT" != "no" -a "$ONPARENT" != "NO" ] && new_interface; let 'ipaddr_num=ipaddr_num+1' let 'ipaddr_clonenum=ipaddr_clonenum+1' done |