#!/bin/sh ############################################################################### # # 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. # ############################################################################### if [ $# -ne 1 ] then echo "Usage: `basename $0` " 1>&2 exit 1 fi if [ $1 == 0 ] then caferun $CAFE_ROOT/data/mlc/sys/title/00050010/1f700500/code/system_config_tool.rpx -c "bg_enable 0" -c "bg_stress_mode $1" -c exit fi if [ $1 != 0 ] then caferun $CAFE_ROOT/data/mlc/sys/title/00050010/1f700500/code/system_config_tool.rpx -c "bg_enable 1" -c "goto_test_setting" -c "modeEnter_bg_stress_mode $1" -c modeEnter_exit caferun $CAFE_ROOT/data/mlc/sys/title/00050010/1f700500/code/system_config_tool.rpx -c "goto_test_setting" fi