0
我已经使用schript以下位给一个选项菜单,但它有一个选择无与伦比的在Android
syntax error: 'select' unmatched
这里来了是我的剧本的部分我不能使用ELIF命令,Android不承认它。
OPTIONS="Continue Quit"
select opt in $OPTIONS; do
if [ "$opt" = "Quit" ]; then
echo closing Android Hardening
sleep 5
exit
fi
if [ "$opt" = "Continue" ]; then
echo ANDROID
echo HARDENING
else
echo incorrect selection restart application
sleep 7
exit 1
fi
你错过了'done'结束选择做。 –