Homepage › Forums › RetroPie Project › GPIO Adapter, ControlBlock etc. › Simple 1 button GPIO on off switch: 1 switch, 2 wires, 10 lines of code › Reply To: Simple 1 button GPIO on off switch: 1 switch, 2 wires, 10 lines of code
03/27/2016 at 03:09
#121589
Participant
ok, I checked and the folder and the file are where they belong.
I did the sido chown pi shutdown.sh
and ran my test again…
I get the same response as before.
: not foundripts/shutdown.sh: 1 /home/pi/scripts/shutdown.sh:
: permission deniedutdown.sh: 5: /home/pi/scripts/shutdown.sh: cannot creat /sys/class/gpio/export
: Directory nonexistantwn.sh Syntax error: end of file unexpected (expecting “do”)