April 7, 2017

Fedora 25 -- rc.local

The rc.local file used to be a standard part of unix and linux. It was removed when systemd came along and only grudgingly provided as a facility under systemd. As it turns out, it is relatively easy to get this going under Fedora 25. No extra packages need to be installed and apparently no special services need to be started.

Create a file named rc.local in /etc/rc.d and make it executable. That is all there is to it (it needs to be a viable shell script of course). Do not simply create the file inside /etc as if you put it there alongside all the links to stuff in rc.d it will simply be ignored.

If you are curious, look at /usr/lib/systemd/system/rc-local.service however you don't need to monkey with anything here.


Have any comments? Questions? Drop me a line!

Adventures in Computing / [email protected]