From 1372604fc5ff8d543c2c203af5a2a152f2a0759c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 10 Nov 2003 22:46:50 +0000 Subject: fix xDSL and other interfaces (#109601) --- rc.d/init.d/network | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'rc.d/init.d') diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 3cbf9c7c..9452deeb 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -110,16 +110,16 @@ 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 if [ -n "$BRIDGE" ]; then - bridgeinterfaces="$bridgeinterfaces $DEVICE" + bridgeinterfaces="$bridgeinterfaces $i" continue fi @@ -205,15 +205,15 @@ case "$1" in if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then - cipeinterfaces="$cipeinterfaces $DEVICE" + cipeinterfaces="$cipeinterfaces $i" continue fi if [ -n "$BRIDGE" ]; then - bridgeinterfaces="$bridgeinterfaces $DEVICE" + bridgeinterfaces="$bridgeinterfaces $i" continue fi if [ "$TYPE" = "xDSL" ]; then - xdslinterfaces="$xdslinterfaces $DEVICE" + xdslinterfaces="$xdslinterfaces $i" continue fi done @@ -222,7 +222,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 @@ -232,7 +232,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