LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with Debian 2.2r6 [II] (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-debian-2-2r6-%5Bii%5D-25063/)

techplex 07-04-2002 05:37 PM

Help with Debian 2.2r6 [II]
 
Another think I want to ask you guys is, which is the file in which I put the commands I want Debian to execute when it boots up? (Ex. th 'rc.local' file in RedHat). Thanks again. :Pengy:

pickledbeans 07-04-2002 05:59 PM

Is there a rc.lcoal in /etc/init.d?
Both RH and Debian use System V init scripts

techplex 07-04-2002 06:06 PM

there is a rc and a rcS files, but there's no rc.local file..

pickledbeans 07-04-2002 06:43 PM

OK here what you want to do.
man rc.boot

According the the man page,


RC.BOOT(5) Debian GNU/Linux Manual RC.BOOT(5)

NAME
/etc/rc.boot - directory for local or per-package boot scripts.

DESCRIPTION
The /etc/rc.boot directory is obsolete. It has been superseded by the /etc/rcS.d direc_
tory. At boot time, first the /etc/rcS.d directory is scanned and then, for backwards
compatibility, the /etc/rc.boot directory.

The directory /etc/rc.boot is scanned by the program run-parts(8). The scripts found
that have valid filenames for the run-parts program will be run in lexical sort order
of the filenames.

SEE ALSO
run-parts(8), init(1).


All times are GMT -5. The time now is 07:27 AM.