📄 start_reduce_tcmd
字号:
#! /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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -