由于板载linux中没有rc.local,/etc/profile必须登录才起作用,这边希望做一个开机自启动脚本,请问有什么好的解决方案吗?
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.
我将您的问题升级到了英文论坛,请及时跟进。
英文论坛已有回复,请参考:
You can use most generic solutions, my recommendation would be to create a systemd service script that can start your application. You can also "work-around" the removal of the r.local removal using this technique:
https://linuxhint.com/use-etc-rc-local-boot/
Please give this a try, we support the systemctl services.