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”)