Install wiringpi if r/w jumper enabled
This commit is contained in:
parent
006a1c1c41
commit
165684187c
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ if [ \`gpio -g read $RW_PIN\` -eq 0 ] ; then\n\
|
|||
\tmount -o remount,rw \/boot\n\
|
||||
fi\n"
|
||||
if [ $INSTALL_RW_JUMPER -ne 0 ]; then
|
||||
apt-get install -y --force-yes wiringpi
|
||||
# Check if already present in rc.local:
|
||||
grep "gpio -g read" /etc/rc.local >/dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue