Now I want to make an executable script that runs the program located in the "LedFolder".
This is the code used to include the pi4j libraries, but how do I tell it to run the program from another folder?
Code: Select all
#!/bin/bash
sudo java -classpath .:classes:/opt/pi4j/lib/'*' Led