From 8ef9bf467b748ae3ee516d86e79761bd43c89365 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 9 Sep 2003 04:44:21 +0000 Subject: don't order bringing down bonding interfaces --- rc.d/init.d/network | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/network b/rc.d/init.d/network index fabf2ff4..93ecc5f6 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -186,10 +186,9 @@ case "$1" in fi cipeinterfaces="" - bondinterfaces="" xdslinterfaces="" - # get list of bonding, cipe, and xdsl interfaces + # get list of cipe, and xdsl interfaces for i in $interfaces; do eval $(LANG=C fgrep "DEVICE=" ifcfg-$i) eval $(LANG=C fgrep "TYPE=" ifcfg-$i) @@ -199,17 +198,13 @@ case "$1" in cipeinterfaces="$cipeinterfaces $DEVICE" continue fi - if [ "${DEVICE##bond}" != "$DEVICE" ] ; then - bondinterfaces="$bondinterfaces $DEVICE" - continue - fi if [ "$TYPE" = "xDSL" ]; then xdslinterfaces="$xdslinterfaces $DEVICE" continue fi done - for i in $bondinterfaces $cipeinterfaces $xdslinterfaces ; do + for i in $cipeinterfaces $xdslinterfaces ; do eval $(fgrep "DEVICE=" ifcfg-$i) if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi -- cgit v1.2.1