Compute Module added to is_pione.

This commit is contained in:
Simon Long 2016-01-28 13:53:18 +00:00 committed by Serge Schneider
parent 97679845d9
commit 8fed014e86
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ CONFIG=/boot/config.txt
is_pione() {
if grep -q "^Revision\s*:\s*00[0-9a-fA-F][0-9a-fA-F]$" /proc/cpuinfo; then
return 0
elif grep -q "^Revision\s*:\s*[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[0-3][0-9a-fA-F]" /proc/cpuinfo ; then
elif grep -q "^Revision\s*:\s*[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]0[0-36][0-9a-fA-F]" /proc/cpuinfo ; then
return 0
else
return 1