Operating System - HP-UX
1835272 Members
2237 Online
110078 Solutions
New Discussion

Re: Which file is used to change local startup configuration script?

 
SOLVED
Go to solution
Hell.Leader
Occasional Advisor

Which file is used to change local startup configuration script?

By the way, I am a jackeroo.
Please help me later,thank you all very much!
HPcert
3 REPLIES 3
Michael Tully
Honored Contributor
Solution

Re: Which file is used to change local startup configuration script?

Hi,

All startup scripts of applications come
from '/sbin/init.d/applicationname'
There is also links from /sbin/rcN.d to
either start or stop the program depending
on the run level.

There is also a directory called /etc/rc.config.d
where you can specify whether you wish to start
processes or not. Be careful changing anything
here.

-Michael
Anyone for a Mutiny ?
A. Clay Stephenson
Acclaimed Contributor

Re: Which file is used to change local startup configuration script?

The configurations by convention are in /etc/rc.config.d/myscript

The actual scripts are in /sbin/init.d/myscript
with symbolic links to /sbin/rcS.d/SNNNmyscript and /sbin/rcK.d/KMMMmyscript where S is the desired startup run-level and K is 1 less than S. Also by convention, NNN + MMM should = 1000.
If it ain't broke, I can fix that.
Roger Baptiste
Honored Contributor

Re: Which file is used to change local startup configuration script?


A good reference to lookup would be in
/usr/share/doc/start_up.txt

It explains the details.

-raj
Take it easy.