/md05_sample //可执行程序
if [ $? -eq 1 ] //$? 为md05_sample的exit()或return 返回
then
/home/dvr/bin/main_wifi ${rtc} & //如果返回值为1时执行
else
echo "test pcb "
fi
shell脚本中接收返回值
最新推荐文章于 2024-05-25 22:54:09 发布
/md05_sample //可执行程序
if [ $? -eq 1 ] //$? 为md05_sample的exit()或return 返回
then
/home/dvr/bin/main_wifi ${rtc} & //如果返回值为1时执行
else
echo "test pcb "
fi