diff options
-rwxr-xr-x | rc.d/init.d/network | 12 |
1 files changed, 6 insertions, 6 deletions
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 |