arm-linux 开机自启动

一、/etc/init.d/rcS

在/etc/init.d/rcS中加入程序或者脚本命令就可以实现开机自动运行

  • 会有 Read-only file system error!

二、/etc/profile

在/etc/profile中加入命令,需要在超级终端输入回车,登录后才可执行。
注意:/etc/profile文件只在登陆用户后,才会执行。并且每个用户登陆,都会进行一次

 

posted on 2017-10-31 11:33  Jalyn  阅读(2931)  评论(0)    收藏  举报

导航