diff --git a/debian/postinst b/debian/postinst index 88af470..6d525bc 100755 --- a/debian/postinst +++ b/debian/postinst @@ -28,7 +28,7 @@ then device="mt6873" fi -if [[ "$device" == unknown ]] +if [ -f "/proc/device-tree/model" -a "$device" == unknown ]; then model=$(