mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-30 11:54:18 +01:00
Set device_mode to DFU
This commit is contained in:
parent
0adf014d99
commit
feb987d33c
@ -929,6 +929,7 @@ device_dfuhelper() {
|
|||||||
opt=$?
|
opt=$?
|
||||||
if [[ $opt == 1 ]]; then
|
if [[ $opt == 1 ]]; then
|
||||||
log "Found device in DFU mode."
|
log "Found device in DFU mode."
|
||||||
|
device_mode="DFU"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
print "* Get ready..."
|
print "* Get ready..."
|
||||||
@ -943,6 +944,7 @@ device_dfuhelper() {
|
|||||||
opt=$?
|
opt=$?
|
||||||
if [[ $opt == 1 ]]; then
|
if [[ $opt == 1 ]]; then
|
||||||
echo -e "\n$(log 'Found device in DFU mode.')"
|
echo -e "\n$(log 'Found device in DFU mode.')"
|
||||||
|
device_mode="DFU"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
@ -954,6 +956,7 @@ device_dfuhelper() {
|
|||||||
opt=$?
|
opt=$?
|
||||||
if [[ $opt == 1 ]]; then
|
if [[ $opt == 1 ]]; then
|
||||||
echo -e "\n$(log 'Found device in DFU mode.')"
|
echo -e "\n$(log 'Found device in DFU mode.')"
|
||||||
|
device_mode="DFU"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
Reference in New Issue
Block a user