This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding course info to Arduino serial
#21
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.
Reply
#22
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)