kiwijam777
Participant
Post count: 15

Here are copies of my files, in the attached zip:

/etc/rc.local
/home/pi/scripts/shutdown.sh

I drop these into every new pi i have, and then i reboot and they work. If they dont work for you i am not sure what to suggest. Do you have the the folders “/sys/class/gpio”? If not, I think you can do:

sudo apt-get update
and
sudo apt-get install rpi.gpio