chris_c_
Active Member
- Joined
- Aug 19, 2010
- Messages
- 509
- Reaction score
- 67
Make /etc/rc.local work in CentOS 7
Due to systemd introduced in CentOS 7, the /etc/rc.local nis NOT enabled by default, you should make /etc/rc.local executable by hand
Just run
and your CentOS 7 will reboot, see if it works.
** CAUSE OF THIS BUG: THE ABOVE COMMAND ("chmod a+x /etc/rc.local") WAS MISSING FROM THE CENTOS INSTALLER IncrediblePBX13-12R-OAUTH.sh therefore the script was not marked as executable and did not execute... **
Due to systemd introduced in CentOS 7, the /etc/rc.local nis NOT enabled by default, you should make /etc/rc.local executable by hand
Just run
Code:
~$ chmod a+x /etc/rc.local
~$ reboot
and your CentOS 7 will reboot, see if it works.
** CAUSE OF THIS BUG: THE ABOVE COMMAND ("chmod a+x /etc/rc.local") WAS MISSING FROM THE CENTOS INSTALLER IncrediblePBX13-12R-OAUTH.sh therefore the script was not marked as executable and did not execute... **