Merge pull request #805 from Speederc/patch-1
Fix RPI1 detection in installation script
This commit is contained in:
commit
e9cfe6176f
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue