Monday 20 February 2012

How to rc.local fedora 16?

F16 by default has removed the rc.local file (see the release notes). You just need to create the rc.local file in /etc/rc.d , make it executable and tell the system that is a bash script. See steps below

su -
(root password)


 echo '#!/bin/sh' > /etc/rc.d/rc.local


 chmod +x /etc/rc.d/rc.local


Now you can add your favorite lines to rc.local in order to run commands at start up.


1 comment:

Anonymous said...
This comment has been removed by a blog administrator.