mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-01-13 16:59:11 +01:00
Update device.sh
This commit is contained in:
parent
49a564ccdd
commit
3c1fc9fce9
@ -33,7 +33,7 @@ GetDeviceValues() {
|
|||||||
ideviceinfo2=$($ideviceinfo -s)
|
ideviceinfo2=$($ideviceinfo -s)
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
Log "Finding device in DFU/recovery mode..."
|
Log "Finding device in DFU/recovery mode..."
|
||||||
DeviceState="$($irecovery -q 2>/dev/null | grep -w "MODE" | cut -c 7-"
|
DeviceState="$($irecovery -q 2>/dev/null | grep -w "MODE" | cut -c 7-)"
|
||||||
else
|
else
|
||||||
DeviceState="Normal"
|
DeviceState="Normal"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user