Re: Boot commands
Timothy Bedding said:
> Where is the best place to add commands to be done by root
> on booting?
>
> Somewhere in /etc/rc I guess.
Put a script to handle startup/shutdown in /etc/init.d and create symlinks to
it from the various /etc/rcX.d directories to control which runlevels it's
started/stopped for. (The easiest way to make the symlinks is with the
update-rc.d command.)
--
Geek Code 3.1: GCS d- s+: a- C++ UL++$ P+>+++ L++>++++ E- W--(++) N+ o+ !K
w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI++++ D G e* h+ r++ y+
Reply to:
- References:
- Boot commands
- From: Timothy Bedding <Timothy.Bedding@btinternet.com>