CentOS 7 —— /etc/rc.local 开机不执行 - 解决方法


chmod +x /etc/rc.d/rc.local
systemctl enable rc-local.service


Note: rc.local is obsolete.


-------------------------- OR


append commands to /etc/bashrc



posted @ 2016-06-21 15:44  张同光  阅读(96)  评论(0编辑  收藏  举报