DM8168开机自动登入root,DM8168开机自动运行脚本
来源:互联网 发布:怎么看sql server版本 编辑:程序博客网 时间:2024/05/17 01:27
1、 DM8168开机自动登入root
修改/etc/inittab文件:
将
#S:2345:respawn:/sbin/getty 115200 ttyO2
改为
S:2345:respawn:/bin/login -f root
保存退出,并reboot
2、DM8168开机自动运行用户脚本程序
修改/etc/profile文件(比如):
cd /home/root
sh test.sh
其中test.sh中内容如下
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
insmod led_dr.ko
insmod gpin_dr.ko
mknod /dev/IO_IN c 247 0
mknod /dev/myled c 248 0
sh pre.sh
./capture_encode_a8host_debug.xv5T -o video.h264 -m 1080p -f 60 -b 5000000 -d
- DM8168开机自动登入root,DM8168开机自动运行脚本
- DM8168 开机自动运行程序
- DM8168自动登录与开机运行程序
- ubuntu14 系统开机自动root登入
- Ubuntu10.04设置开机自动登入root帐户
- Ubuntu10.04设置开机自动登入root帐户
- Ubuntu10.04设置开机自动登入root帐户
- DM8168 自动登录root用户
- fedora 12开机自动登入
- fedora 12开机自动登入
- 开机自动运行脚本
- Ubuntu10 开机自动运行脚本
- Centos 开机自动运行脚本
- Ubuntu10.04设置开机自动登入root帐户(不要密码登录)|| Ubuntu14.04root登录|| Ubuntu12.04root登录
- CentOS开机自动运行程序的脚本
- 设置linux开机自动运行脚本
- Fedora 14 开机自动运行脚本
- 修改脚本开机自动运行程序
- loadHTMLString 不出图片,特殊字符
- 数据类型 可移植性
- Java语言基础(一)—— 一个简单的Java应用程序
- 表单处理
- Spring的@Autowired注解、@Resource注解和@Service注解
- DM8168开机自动登入root,DM8168开机自动运行脚本
- Java中的LinkedList的方法的应用
- 关于加密和解密 -- 1
- swift元组 集合 结构体 类
- mac下的readelf和objdump
- 【模板】并查集
- Unity3d自动生成asset bundle name(2)
- Android电池信息(Battery information)
- 改变maven项目默认jdk