启动前30秒交互
时间:2010-11-02 来源:gaocheng
stty -icanon min 0 time 30
echo "Enter Debug Mode(y/n) ?"
read dotest
if [ "$dotest" = "y" ] ;then
stty sane
echo "Debug Mode!"
else
stty sane
echo "Release Mode!"
/usr/bin/use_app &
/usr/bin/cli_shell
fi
相关阅读 更多 +