mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-27 10:24:16 +01:00
Change ecid hex to dec conversion
This commit is contained in:
parent
dd22438238
commit
bcb605e340
@ -555,7 +555,7 @@ device_get_info() {
|
||||
device_entry
|
||||
else
|
||||
device_type=$(echo "$device_type" | cut -c -$ProdCut)
|
||||
device_ecid=$((16#$($irecovery -q | grep "ECID" | cut -c 9-))) # converts hex ecid to dec
|
||||
device_ecid=$(printf "%d" $($irecovery -q | grep "ECID" | cut -c 7-)) # converts hex ecid to dec
|
||||
fi
|
||||
device_model=$($irecovery -q | grep "MODEL" | cut -c 8-)
|
||||
device_vers=$(echo "/exit" | $irecovery -s | grep "iBoot-")
|
||||
|
Loading…
Reference in New Issue
Block a user