10-04-2017, 03:38 PM
If you wish to verify that /proc/cpuinfo contains the board model, you better verify that first, because in some kernels, the name won't appear.
Some other way to do that is to verify /proc/device-tree/model ...
Some other way to do that is to verify /proc/device-tree/model ...