linux-arm开机启动

来源:互联网 发布:第三方网络销售违法吗 编辑:程序博客网 时间:2024/05/10 20:18

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

2./etc/profile中加入命令,终端输入回车,登录后执行。

3.如果想去掉每次开机完后的“Please press Enter to activate this console”这句,也就是实现开机自动登录,可以在/etc/inittab中仿照busybox中example的inittab写,只是将::askfirst:-/bin/sh改为::respawn:-/bin/sh即可,如果发现没有inittab那么就自己建一个