[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Equivalent of rc.local



>>>>> "Michael" == Michael Merritt <michael@miklm.com> writes:

  Michael> What is the Debian equivalent of /etc/rc.d/rc.local in
  Michael> RedHat (ie, where to put user defined commands that should
  Michael> run at boot time?)

/etc/init.d is where the actual scripts reside

For each of the different run levels, i.e. boot, S(start), and 1-6
there are links in rc?.d/ directories.

Make sure and read the man page for update-rc.d

So you will put the start-up script of interest in /etc/init.d and
then estalblish the appropriate links to start or stop(kill) the
process in the appropriate rc?.d directories.

It sounds more confusing than it is.

I don't believe there is a "local" rc directory per se.

Brian



Reply to: