This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I have added a self-start task on boot into the /etc/profile file, but every time I connect to the device through ssh, the task in /etc/profile will be executed again. I want to know if there is a way to avoid this problem. My boot The self-starting task must be executed. Is there any other way besides adding it to the /etc/profile file?
Looking forward to your reply!
Thanks!
Hi,
You should create a systemd service to execute on boot.
Regards
Karthik