Fedora 16 rc.local support

With the latest version of Fedora 16, you’ll find many core changes which definitely improves performance but it becomes difficult to understand / make things working.
Few such examples are
changing a boot sequence
Increasing Loop Devices

Now I came across another to make rc.local working.
I did not realized this when I upgraded from previous version. But when I did fresh installation, there was no rc.local.

By default there is no rc.local file created, to make it working, you’ll need to create one in /etc/rc.d & link it to /etc/

#Sample rc.local content

cat /etc/rc.d/rc.local
#! /bin/sh 
echo "I am working rc.local" > /tmp/rc.test

Here don’t forget to mention #! /bin/sh otherwise it will not work.
change permission & create link
chmod 755 /etc/rc.d/rc.local
ln -s /etc/rc.d/rc.local /etc/

you can verify working of rc.local after next reboot, using following command.
systemctl status rc-local.service

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Archives

Categories

Page optimized by WP Minify WordPress Plugin