This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

在研究uboot命令,关于bootcmd命令中fi是什么意思?



bootcmd=if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd

这是sdk标准的自动引导命令,其中if test ${boot_fit} -eq 1; then run update_to_fit;后面的fi是什么意思呢?