rojasx / final-project-forceapp

Holds all code and scripts to be included in the RPi yocto build.
0 stars 0 forks source link

Make startup scripts #9

Open rojasx opened 2 months ago

rojasx commented 2 months ago

Need startup script to:

DoD: Upon a fresh boot, the rpi will do its job with 0 interation when the laptop runs its app. Blockers: Understanding how to implement a startup script, understanding how to make a python script a daemon.

rojasx commented 2 months ago

Success was had using systemd for startup script handling. Included systemd in the yocto build, which pulls in a shell script from the forceapp repo. This shell script is executed at startup after bluetooth is configured. Below is the entire script. Commit to yocto repo Commit to forceapp repo

Image