#!/usr/bin/env bash ############################################################################### # # Copyright (C) 2009-2013 Nintendo. All rights reserved. # # These coded instructions, statements, and computer programs contain # proprietary information of Nintendo of America Inc. and/or Nintendo # Company Ltd., and are protected by Federal copyright law. They may # not be disclosed to third parties or copied or duplicated in any form, # in whole or in part, without the prior written consent of Nintendo. # ############################################################################### source getbridgetype if [ "$BRIDGE_TYPE" == "Mion" ] then command_option1="$1" command_option2="$2" command_option3="$3" if [ ! "$command_option1" ] then echo "Current Bridge Name = $BRIDGE_CURRENT_NAME" echo "Current Bridge IP Address = $BRIDGE_CURRENT_IP_ADDRESS" else getbridgeconfig.exe "$@" fi else echo "Bridge type invalid: This bridge tool only works with Catdev v3 or ev_x4 and newer devkits" fi