mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Fix typo for send pwned iBSS
This commit is contained in:
parent
ae2bfe3bb5
commit
8cce936efc
15
restore.sh
15
restore.sh
@ -727,15 +727,16 @@ 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
|
||||
read -p "$(input 'Select Y to exit recovery mode (Y/n) ')" opt
|
||||
if [[ $opt != 'N' && $opt != 'n' ]]; then
|
||||
log "Exiting recovery mode."
|
||||
$irecovery -n
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user