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

Re: shell script at boottime



> What I want to do: I have a small shell script (setting hdparm, aumix, etc)
> called boot.sh which I want to run when my box boots. I thought of putting
> it in /etc/init.d, then make the link /etc/rc2.d/S50boot.sh. Is this the
> proper way to do this? Thanks for the input.

If I remember correctly there is also a way to do this with modutils
whereby you can add statements to execute at module insertion time.
So if your sound is a module, you can have it run aumix only when
sound is loaded. -chris




Reply to: