From: Kenn Humborg (kenn at domain bluetree.ie)
Date: Tue 07 Sep 1999 - 12:34:43 IST
> I am using Red Hat Linux 5.2 and running the Apache server. I have
> developed a script to load certain applications and mount file
> systems. I need to know which initialisation script after reboot; I
> can call my script, i.e. the last initialisation script that is run. Also
> what format the initialisation script uses?
Look at the scripts in /etc/rc.d/init.d and create something similar.
Then create links from /etc/rc.d/rc.X to your script. Look at what's
there already. Links starting with K mean kill a service and S means
start a service. The numbers specify the order things happen in.
Alternatively, use the graphical run-level editor supplied with RH5.2.
I don't know it RH5.2 includes chkconfig. Try man chkconfig. If
it's there then you can use that too. It's a command-line tool
for maintaining the links in the /etc/rc.d/rc.X directories.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:32 GMT