This commit is contained in:
Aaron Murray 2022-02-23 19:15:11 -06:00
parent 02e61f1207
commit a51b9b6b7f

View File

@ -185,6 +185,7 @@ fi
if grep -rq raspberrypi.org /etc/apt/*; then
rpivers="$(awk '$1 == "Revision" { print $3 }' /proc/cpuinfo)"
echo "RPi revision code :: ${rpivers}"
# https://elinux.org/RPi_HardwareHistory
if [[ "${rpivers:0:1}" =~ [09] ]] && [[ ! "${rpivers:0:3}" =~ 902 ]]; then
echo "This RPi1 is not supported (not true armhf). Exiting..."
exit 7