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

Re: Debian equivalent of RH's rc.local?



On Sat, Jan 22, 2000 at 11:20:55AM -0800, Eric G . Miller wrote:
> On Sat, Jan 22, 2000 at 12:55:48PM -0500, Maciej Kalisiak wrote:
> > How does one add commands to be executed after the machine boot is complete?
> > When my box starts up, the sound levels are maxed out, and I'd like to be able
> > to have the boot up process invoke a utility to bring them down to more
> > reasonable levels.  In RedHat I remember I placed stuff like this in
> > /etc/rc.d/rc.local, or something similar.
> 
> Put your one-time script links in /etc/rcS.d and the actual scripts in
> /etc/init.d. These scripts are executed at every runlevel. There are
> READMEs in /etc/rcS.d and /etc/init.d. /etc/rc.boot is deprecated.
> -- 

I tried out a few mixers a while back, and at least some of them put
their scripts in /etc/init.d/ on installation, in order to restore the
mixer settings on startup.

If you can shop around, you should find one which removes the need for
you to mess around in /etc/.  Sorry I can remember which ones !
-- 
Regards,
Paul


Reply to: