|
@@ -1256,7 +1256,7 @@ get_distro() {
|
|
get_model() {
|
|
get_model() {
|
|
case $os in
|
|
case $os in
|
|
Linux)
|
|
Linux)
|
|
- if [[ -d /system/app/ && -d /system/priv-app ]]; then
|
|
|
|
|
|
+ if [[ -d /android/system/ || -d /system/app/ ]]; then
|
|
model="$(getprop ro.product.brand) $(getprop ro.product.model)"
|
|
model="$(getprop ro.product.brand) $(getprop ro.product.model)"
|
|
|
|
|
|
elif [[ -f /sys/devices/virtual/dmi/id/board_vendor ||
|
|
elif [[ -f /sys/devices/virtual/dmi/id/board_vendor ||
|