rc.local /etc/rc.local 系统脚本,系统启动后执行,与是否登陆无关,所以优先级高于profile,可以指定执行程序的权限 例如:修改ttyS0的权限 chmod 777 /dev/ttyS0