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

View File

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