Fix typo for send pwned iBSS

This commit is contained in:
LukeZGD 2023-01-15 12:42:31 +08:00
parent ae2bfe3bb5
commit 8cce936efc

View File

@ -727,16 +727,17 @@ device_enter_mode() {
print "* Make sure that your device is in PWNED DFU or kDFU mode."
print "* For 32-bit devices, pwned iBSS/kDFU must be already booted."
print "* For A7 devices, signature checks must be already disabled."
print "* If you do not know what you are doing, exit now and restart your device in normal mode."
if [[ $device_mode == "DFU" ]]; then
pause
return
fi
elif [[ $device_mode == "Recovery" ]]; then
print "* If you do not know what you are doing, exit now and restart your device in normal mode."
read -p "$(input 'Select Y to exit recovery mode (Y/n) ')" opt
if [[ $opt != 'N' && $opt != 'n' ]]; then
log "Exiting recovery mode."
$irecovery -n
fi
fi
clean_and_exit
fi
@ -810,7 +811,7 @@ device_ipwndfu() {
mv ../resources/ipwndfu*/ ../resources/ipwndfu/
fi
if [[ $1 == "send-ibss" ]]; then
if [[ $1 == "send_ibss" ]]; then
patch_ibss
cp pwnediBSS ../resources/ipwndfu/ 2>/dev/null
fi