Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list_device=$(cat <<EOF
- XT1068
- XT1069
- XT1068/69
- XT1063
- XT1064
- XT1063/64
- titan
- EOF
- )
- device=`$adb shell getprop ro.product.model`
- for models in list_device; do if [ $device == $models ]; then echo "* Device is supported :D *"; else error=$(( $error + 1 )); fi; done
- if [ $error=7 ] then echo "* Device isn't supported :( *" && exit 0
Advertisement
Add Comment
Please, Sign In to add comment