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

Re: script to run at boot

hashi@pooq.com writes:

> Other Linuxes have a p;ace to put a file that is to be run after the
> usual bootup, where I can put extra commands that are also to be run
> at every boot.
> Is there such a place in Debian?

Put the file in /etc/init.d (copy /etc/init.d/skeleton if you need
to; it should have a somewhat similar structure to that file).  Then
make links from there to /etc/rcS.d or /etc/rc[2345].d, naming the
file appropriately for where you want your script to run.  See the
documentation in /usr/share/doc/sysvinit for more details.

David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell

Reply to: