From e1cdaf8b24d544e3edfb0fc29d4752a09d2a8619 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 10 Nov 2003 22:48:30 +0000 Subject: fix xDSL and other interfaces (#109601) --- rc.d/init.d/network | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 93ecc5f6..b43d05ab 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -108,11 +108,11 @@ case "$1" in if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then - cipeinterfaces="$cipeinterfaces $DEVICE" + cipeinterfaces="$cipeinterfaces $i" continue fi if [ "$TYPE" = "xDSL" ]; then - xdslinterfaces="$xdslinterfaces $DEVICE" + xdslinterfaces="$xdslinterfaces $i" continue fi @@ -195,11 +195,11 @@ case "$1" in if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then - cipeinterfaces="$cipeinterfaces $DEVICE" + cipeinterfaces="$cipeinterfaces $i" continue fi if [ "$TYPE" = "xDSL" ]; then - xdslinterfaces="$xdslinterfaces $DEVICE" + xdslinterfaces="$xdslinterfaces $i" continue fi done @@ -208,7 +208,7 @@ case "$1" in eval $(fgrep "DEVICE=" ifcfg-$i) if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi - if ! check_device_down $i; then + if ! check_device_down $DEVICE; then action $"Shutting down interface $i: " ./ifdown $i boot fi done @@ -218,7 +218,7 @@ case "$1" in eval $(fgrep "DEVICE=" ifcfg-$i) if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi - if ! check_device_down $i; then + if ! check_device_down $DEVICE; then action $"Shutting down interface $i: " ./ifdown $i boot fi done -- cgit v1.2.1