1848297 Members
6315 Online
104024 Solutions
New Discussion

Re: Startup scripts

 
SOLVED
Go to solution
Praveen Bezawada
Respected Contributor

Startup scripts

Hi
We do have startup scripts on HPUX11.00.

thanks in advance
6 REPLIES 6
Praveen Bezawada
Respected Contributor

Re: Startup scripts

i meant where do you have startup scripts on HPUX 11.00
John Palmer
Honored Contributor
Solution

Re: Startup scripts

Hi,

Scripts in /sbin/init.d
Configuration files in /etc/rc.config.d
Links for Start and Kill scripts in /sbin/rc?.d (? is the relevant runlevel).

Regards,
John
Praveen Bezawada
Respected Contributor

Re: Startup scripts

Hi
when we make symbolic links in, say, rc1.d directory we name the file has S??X to run the script X with argument start.
My question is, is it required that the number marked ?? in the link be unique in the directory rc1.d
Madhu Sudhan_1
Respected Contributor

Re: Startup scripts

Praveen :
There is a wonderful document /usr/share/doc/file_sys.txt. In this doc look for Startup and Shutdown model. This clearly explains how to set your own startup script and lots of guidelines.

Enjoy! This is a really a good doc.

...Madhu
Think Positive
John Palmer
Honored Contributor

Re: Startup scripts

No it doesn't have to be unique, the whole link name is used to sort the files in order of execution.

Have a look at file:-

/usr/share/doc/start_up.txt

It gives you all the gory details.

Regards,
John
James R. Ferguson
Acclaimed Contributor

Re: Startup scripts

Hi:

For a complete understanding of the startup script paradigm, see this white paper:

http://docs.hp.com/hpux/onlinedocs/os/startup.pdf

...JRF...