On Wed, Aug 20, 2014 at 04:07:59PM +0300, Alan Holt wrote:
Hello,
I just install the newest version of Centos 7 and I am a bit disappointed with new /etc/rc/local file I found that it's not usable anymore.
Short answer:
http://forums.fedoraforum.org/showthread.php?t=300234
If you read through the thread, you'll see that you probably need to put the rc.local file under the /etc/rc.d directory.
Longer answer: As the file says, if you plan to stick with Linux, eventually, you'll have to work with systemd. This list has already discussed it to death, but, much as many hate it, it's not going to go anywhere for awhile.
*[root@lab3 ~]# cat /etc/rc.local* " THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES" It is highly advisable to create own systemd services or udev rules to run scripts during boot instead of using this file.