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

Re: rc.local



In article <[🔎] E14VLv4-0000oM-00@david.localdomain>,
David B. Harris  <dbarclay10@yahoo.ca> wrote:
>To quote Vittorio De Martino <v.demart@dada.it>,
># Having experience of Linux RedHat, is there anyone out there able to
>tell me 
># where is the equivalent of the rc.local file in Debian and where can I
>find 
># it?
>
>There's isn't any rc.local per se, but executables in /etc/rc.boot/ will
>be run on boot-up, after everything else.

That's not true. In fact the stuff in /etc/rc.boot will be run
very, very early in the boot process, and you can't count on
things like NFS or NIS working yet.

What you want to do is to put a proper RC script in /etc/init.d
and install it with update-rc.d

Read /etc/init.d/README and /usr/share/doc/sysvinit/README.runlevels.gz
to get an idea how it all fits together

Mike.
-- 
I live the way I type; fast, with a lot of mistakes.



Reply to: