Simple hack that worked for me was to misuse the pypilot_hat service by tweaking the script /etc/sv/pypilot_hat to call my own script instead of pypilot_hat. That is, if you don't use pypilot_hat.
Adding course info to Arduino serial
|
2024-11-16, 09:57 PM
yes, but you can also replicate an existing service. Essentially by copying the files in /etc/ for the service as well as making the symlink, I believe it is in /sv. The exhaustive approach of:
find / | grep pypilot_hat maybe not efficient but could reveal the structure required. The only final change is to edit /etc/bootlocal.sh start the service at the appropriate time in the boot process, and run "filetool.sh -b" to store the changes. |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)