Browse Source

Install wiringpi if r/w jumper enabled

pull/4/head
Phillip Burgess 3 years ago
parent
commit
165684187c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      read-only-fs.sh

+ 1
- 0
read-only-fs.sh View File

@ -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…
Cancel
Save