diff --git a/bin/install_hyperion.sh b/bin/install_hyperion.sh index 2b4206b..30d34a1 100755 --- a/bin/install_hyperion.sh +++ b/bin/install_hyperion.sh @@ -51,9 +51,9 @@ if [ $CPU_RPI -ne 1 ] && [ $CPU_IMX6 -ne 1 ] && [ $CPU_WETEK -ne 1 ] && [ $CPU_X fi #Check which RPi we are one (in case) -RPI_1=`grep -m1 -c BCM2708 /proc/cpuinfo` +RPI_1=`grep -m1 -c 'BCM2708\|BCM2835' /proc/cpuinfo` RPI_2=`grep -m1 -c BCM2709 /proc/cpuinfo` -RPI_3=`grep -m1 -c 'BCM2710\|BCM2835' /proc/cpuinfo` +RPI_3=`grep -m1 -c BCM2710 /proc/cpuinfo` #Check, if year equals 1970 DATE=$(date +"%Y")