mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +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 "* 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 32-bit devices, pwned iBSS/kDFU must be already booted."
|
||||||
print "* For A7 devices, signature checks must be already disabled."
|
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
|
if [[ $device_mode == "DFU" ]]; then
|
||||||
pause
|
pause
|
||||||
return
|
return
|
||||||
fi
|
elif [[ $device_mode == "Recovery" ]]; then
|
||||||
read -p "$(input 'Select Y to exit recovery mode (Y/n) ')" opt
|
print "* If you do not know what you are doing, exit now and restart your device in normal mode."
|
||||||
if [[ $opt != 'N' && $opt != 'n' ]]; then
|
read -p "$(input 'Select Y to exit recovery mode (Y/n) ')" opt
|
||||||
log "Exiting recovery mode."
|
if [[ $opt != 'N' && $opt != 'n' ]]; then
|
||||||
$irecovery -n
|
log "Exiting recovery mode."
|
||||||
|
$irecovery -n
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
clean_and_exit
|
clean_and_exit
|
||||||
fi
|
fi
|
||||||
@ -810,7 +811,7 @@ device_ipwndfu() {
|
|||||||
mv ../resources/ipwndfu*/ ../resources/ipwndfu/
|
mv ../resources/ipwndfu*/ ../resources/ipwndfu/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $1 == "send-ibss" ]]; then
|
if [[ $1 == "send_ibss" ]]; then
|
||||||
patch_ibss
|
patch_ibss
|
||||||
cp pwnediBSS ../resources/ipwndfu/ 2>/dev/null
|
cp pwnediBSS ../resources/ipwndfu/ 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user