diff options
author | Bill Nottingham <notting@redhat.com> | 2003-09-05 19:35:27 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-09-05 19:35:27 +0000 |
commit | 2baf4c7c0119f742202d88d69b4041b284f28437 (patch) | |
tree | 918df64d93e1a70070c79e96a41cc1f65c4c24a2 | |
parent | 4a50b353cbd8a95f2b365e6574058f86f8e71dd4 (diff) | |
download | initscripts-2baf4c7c0119f742202d88d69b4041b284f28437.tar initscripts-2baf4c7c0119f742202d88d69b4041b284f28437.tar.gz initscripts-2baf4c7c0119f742202d88d69b4041b284f28437.tar.bz2 initscripts-2baf4c7c0119f742202d88d69b4041b284f28437.tar.xz initscripts-2baf4c7c0119f742202d88d69b4041b284f28437.zip |
no, bonding goes up *first*
-rwxr-xr-x | rc.d/init.d/network | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index c86ab3b4..d47006d1 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -50,7 +50,6 @@ cd /etc/sysconfig/network-scripts interfaces=`ls ifcfg* | LANG=C egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \ LANG=C egrep -v '(~|\.bak)$' | \ LANG=C egrep -v 'ifcfg-cipcb[0-9]+$' | \ - LANG=C egrep -v 'ifcfg-bond[0-9]+$' | \ LANG=C egrep 'ifcfg-[a-z0-9]+$' | \ sed 's/^ifcfg-//g' | sed 's/[0-9]/ &/' | LANG=C sort -k 1,1 -k 2n | sed 's/ //'` @@ -109,33 +108,6 @@ case "$1" in action $"Bringing up interface $i: " ./ifup $i boot done - # add bonding here. - bondinterfaces=`ls ifcfg* | LANG=C egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \ - LANG=C egrep -v '(~|\.bak)$' | \ - LANG=C egrep 'ifcfg-bond[0-9]+$' | \ - sed 's/^ifcfg-//g'` - for i in $bondinterfaces ; do - if ! LANG=C egrep -L "^ONBOOT=\"?[Nn][Oo]\"?" ifcfg-$i >/dev/null 2>&1 ; then - # If we're in confirmation mode, get user confirmation - [ -n "$CONFIRM" ] && - { - confirm $i - case $? in - 0) - : - ;; - 2) - CONFIRM= - ;; - *) - continue - ;; - esac - } - action $"Bringing up interface $i: " ./ifup $i boot - fi - done - # add cipe here. cipeinterfaces=`ls ifcfg* | LANG=C egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \ LANG=C egrep -v '(~|\.bak)$' | \ |