Skip to content

Commit

Permalink
fix cpu detection for pi2
Browse files Browse the repository at this point in the history
  • Loading branch information
crjens committed Feb 18, 2015
1 parent 637dc5e commit 4c375a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if lscpu | grep Architecture | grep -q armv6
if cat /proc/cpuinfo | grep Hardware | grep -q BCM270*
then
# Raspberry Pi
git clone git://git.drogon.net/wiringPi
Expand Down

0 comments on commit 4c375a2

Please sign in to comment.