/etc/rc.local

Posted by Sander_Marechal on Aug 24, 2007 8:42 AM EDT
Linux DevCenter; By Juliet Kemp
Mail this story
Print this story

This for the “how the hell have I done this job this long & not known this already?” files. Debian has a file called /etc/rc.local which runs at the end of all the multi-user boot levels, and which you can therefore put stuff in. I’ve had trouble with autofs not starting properly on certain machines (there seems to be a correlation with SCSI or SATA rather than IDE drives, although I do not know why this should be), and putting the line /etc/init.d/autofs restart in /etc/rc.local, whilst arguably a hack, does the trick just fine.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Debian, Linux

« Return to the newswire homepage

Subject Topic Starter Replies Views Last Post
/etc/rc.local exists on RedHat based systems as well Igor 3 879 Aug 24, 2007 11:39 PM

You cannot post until you login.