start_reduce_tcmd

来自「moto e2 操作系统为源文件(只能在LINUX环境中」· 代码 · 共 53 行

TXT
53
字号
#! /bin/shPROG1=/usr/SYStapi/tapisrvPROG2=/usr/bin/emudPROG3=/usr/bin/apmdecho "This is in start_reduce_script"while [ "`/sbin/pidof $PROG1`" = "" ] ; doecho "tcmd waiting $PROG1"sleep 1;donewhile [ "`/sbin/pidof $PROG2`" = "" ] ; doecho "tcmd waiting $PROG2"sleep 1;donewhile [ "`/sbin/pidof $PROG3`" = "" ] ; doecho "tcmd waiting $PROG3"sleep 1;doneecho "start tcmd"### set up environment ###. /etc/init.d/ezxenvr.sh###start bt srv to sleep mode, btsrv will exit after 2 seconds/usr/SYSbt/mbtsrv -r 1 &### start up ap test command ###echo "before start ap reduced test command" /usr/SYSqtapp/ap_tcmd/ch_tcmd_flexbit /usr/setup/ezx_flexbit.cfgif [ $? -eq 2 ]then	echo "test command and ap log both enabled, begin to start up"        /usr/SYSqtapp/ap_tcmd/tcmd -u MotFacPst &else        echo "test command enabled, begin to start up"        /usr/SYSqtapp/ap_tcmd/tcmd -u MotFac &fiecho "after start ap reduced test command"####  start up soundmanager ####echo "before start soundmanager for reduced boot"/usr/SYSqtapp/sound/soundmanager &echo "after start soundmanager for reduced boot"### unzip midi to /tmpcp /usr/SYSqtapp/tools/alert_files.mid.gz /tmpcd /tmptar zxf alert_files.mid.gzrm alert_files.mid.gzcd ~try_time

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?