diff options
author | Bill Nottingham <notting@redhat.com> | 2003-01-14 17:43:07 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-01-14 17:43:07 +0000 |
commit | 974e8f7fa2f15913ac024dc77720cd3e4842417b (patch) | |
tree | 9a46dfe9f3a8e0d60a07c88b4bda3f4bffbf768d | |
parent | 862d97ee58ae550e2b3a2420f76e9fd33f157cac (diff) | |
download | initscripts-974e8f7fa2f15913ac024dc77720cd3e4842417b.tar initscripts-974e8f7fa2f15913ac024dc77720cd3e4842417b.tar.gz initscripts-974e8f7fa2f15913ac024dc77720cd3e4842417b.tar.bz2 initscripts-974e8f7fa2f15913ac024dc77720cd3e4842417b.tar.xz initscripts-974e8f7fa2f15913ac024dc77720cd3e4842417b.zip |
get the other case too
-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 |