Startup Script - ProjectHexapod/Main GitHub Wiki

A startup script runs every time the Beaglebones boot. It kicks off the configurePins.py script to set up the Beaglebone I/O.

The startup script uses a systemd timer. The systemd timer consists of configurePins.service and configurePins.timer located in /etc/systemd/system/. configurePins.service has a reference to the script that gets kicked off.

The script can't run configurePins.py directly, so it runs a bash script (configurePins.sh) which runs the python script.