CentOS 7中的/etc/rc.local脚本命令不生效的解决
发表时间:2018-10-17 13:50 | 分类:Linux | 浏览:1,219 次
Due to systemd introduced in CentOS 7, the /etc/rc.local not enabled by default, you should make /etc/rc.local executable by your hand.
解决办法:
命令:
- chmod a+x /etc/rc.local
重启后再试试应该就可以了。