Centos7 下 rc.local 文件开机不执行
centos7,在官网上给出建议:使用systemd服务或udev规则来运行开机启动脚本,所以在 centos7 中 rc.local 默认是不执行该文件的
如果想要该文件被执行,只需要给该文件赋权限即可 chmod +x /etc/rc.d/rc.local
centos7,在官网上给出建议:使用systemd服务或udev规则来运行开机启动脚本,所以在 centos7 中 rc.local 默认是不执行该文件的
如果想要该文件被执行,只需要给该文件赋权限即可 chmod +x /etc/rc.d/rc.local
