el7上的开机自动执行脚本
/etc/rc.local 是 /etc/rc.d/rc.local的软连接
默认, /etc/rc.local 是有可执行权限的, 只要 给 /etc/rc.d/rc.local 加上可执行权限即可;
chmod +x /etc/rc.d/rc.local
muahao@aliyun.com
/etc/rc.local 是 /etc/rc.d/rc.local的软连接
默认, /etc/rc.local 是有可执行权限的, 只要 给 /etc/rc.d/rc.local 加上可执行权限即可;
chmod +x /etc/rc.d/rc.local