Run shell script on Startup Application - Jetson AGX Orin

I have a Jetson AGX Orin. I wrote a shell script with the content:


                             rosclean purge -y;

I basically want the script to run to clear out the log files everytime I power cycle the edge device. What is the command that I can use to do that in the Startup Application?

I was able to set it up to run a python script using this command: gnome-terminal – /bin/sh -c ‘python3 /path_to_the_script/’
But I can’t set it up for the shell script.



Are you using the devkit or custom board for AGX Orin?
What’s your Jetpack version in use?

Is it the command for your ROS?

You can just add the command in any boot up script.
Or trying to create a rc.local service to run it during boot up automatically.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.