[Beagle Bone] beaglebone black ubuntu系统怎么开机自动root登录,并执行自己的脚本?

[复制链接]
 楼主| rogerliu1104 发表于 2015-3-9 15:41 | 显示全部楼层 |阅读模式
如题!beaglebone black ubuntu系统怎么开机自动root登录,并执行自己的脚本?
 楼主| rogerliu1104 发表于 2015-3-17 11:31 | 显示全部楼层
没有人遇到过吗?
 楼主| rogerliu1104 发表于 2015-4-1 11:27 | 显示全部楼层
已经解决!
修改的是 /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
红色部分就是我们要开机执行的脚本
/home/ubuntu/run/run.sh   

exit 0
mini1986 发表于 2015-9-11 09:18 | 显示全部楼层
关注一下......
lk07828 发表于 2016-2-4 09:28 | 显示全部楼层
rogerliu1104 发表于 2015-4-1 11:27
已经解决!
修改的是 /etc/rc.local
#!/bin/sh -e

看着像是登录后自动执行的脚本,自动登录怎么配置的
 楼主| rogerliu1104 发表于 2016-2-18 17:21 | 显示全部楼层
lk07828 发表于 2016-2-4 09:28
看着像是登录后自动执行的脚本,自动登录怎么配置的

好像不需要登陆,时间久了记不太清了
cnb12345 发表于 2016-4-26 15:05 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

5

主题

72

帖子

4

粉丝
快速回复 在线客服 返回列表 返回顶部