一、开机自启程序 1.1 /etc/rc.local文件内容 #!/bin/bash export HOME="/root" /root/update.sh /home/debian/xxx /boot/xxx /home/debian/run.sh & 需要先创建文件,然后让它可执行 1.2 /home/debian/run.sh #! /bin/bash type devscan #判断devscan是否存在,不存在提示安装 if [ $? -