How to launch JetBot while startup...

In Jetbot, how to automatically execute to show the system status on pi-oled while the system startup, thanks.

Hi dyumail2000,

Thanks for reaching out!

You can create a system service that launches the script at boot. We do this in JetBot by following step 10 of the creating SD card image from scratch instructions.

These instructions use the following Python script to generate the system service file which calls the script.

This service file is copied into /etc/systemd/system and enabled using systemctl.

If you’re using the JetBot stats display script, you can follow the steps as is. Otherwise, it is fairly straightforward to make another script run at boot following a similar procedure.

Please let me know if you have any additional questions.


It can work, thanks.