el7上的开机自动执行脚本

/etc/rc.local 是 /etc/rc.d/rc.local的软连接

默认, /etc/rc.local 是有可执行权限的, 只要 给 /etc/rc.d/rc.local 加上可执行权限即可;

chmod +x /etc/rc.d/rc.local

posted @ 2017-09-06 20:15  苏小北1024  阅读(153)  评论(0编辑  收藏  举报