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'結束選擇做。 –