rc.local开机不执行

在Centos7下,rc.local文件,开机默认是不执行的

必须运行 chmod +x /etc/rc.d/rc.local

命令来确保启动过程中执行此脚本 .

原文地址:https://www.cnblogs.com/ahuo/p/13071697.html