Extend processor detection on linux/android
.
This commit is contained in:
parent
905e11c8fa
commit
06a4eb3876
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ fi
|
||||||
if [ "$subtype" = "android" ]; then
|
if [ "$subtype" = "android" ]; then
|
||||||
if [ -n "$(getprop ro.soc.manufacturer)$(getprop ro.soc.model)" ]; then
|
if [ -n "$(getprop ro.soc.manufacturer)$(getprop ro.soc.model)" ]; then
|
||||||
processor="$(getprop ro.soc.manufacturer) $(getprop ro.soc.model)"
|
processor="$(getprop ro.soc.manufacturer) $(getprop ro.soc.model)"
|
||||||
|
elif [ -n "$(getprop ro.hardware.chipname)" ]; then
|
||||||
|
processor="$(getprop ro.hardware.chipname)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$hassed" -eq 1 ] && [ "$hasawk" -eq 1 ] && [ -n "$processor" ]; then
|
if [ "$hassed" -eq 1 ] && [ "$hasawk" -eq 1 ] && [ -n "$processor" ]; then
|
||||||
|
|
Loading…
Reference in a new issue