增加 开机自启动 程序

在 /etc/rc.local 里面添加一句就可以了,直接把 .bin 或者 .sh 文件的路径加入就可以了,例如:

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.

./usr/test_shell
exit 0

猜你喜欢

转载自blog.csdn.net/Hongwei_1990/article/details/107397394