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

shell script at boottime

Before I start doing this and mess up big time I want to ask if I'm right.

As far as I understood:
Scripts run at boottime are located in /etc/init.d
Links to these scripts are located in /etc/rc*.d (depending on the runlevel)
These links begin with Sxx+scriptname and are processed according to there
Am I right?

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.


Reply to: