1752796 Members
5916 Online
108789 Solutions
New Discussion юеВ

rc scripts in HPUX

 
SOLVED
Go to solution
Srimalik
Valued Contributor

rc scripts in HPUX

This is just a clarification

In all the startup scripts there can be four option start_msg,start,stop_msg,stop.

say we have a script "appstart" in runlevel 2 dir and it implements all the options.

While booting what is the sequence of calls?

will the rc scrip call:

appsatrt start_msg first and than
appstart start

Is it same for all startup scripts in HPUX ?

thanks
sri
abandon all hope, ye who enter here..
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: rc scripts in HPUX

Hi Sri:

Yes. An excellent whitepaper (still very much) that describes the startup paradigm is here:

http://docs.hp.com/en/934/startup.pdf

The manpages for 'rc(1M)' also offer an excellent overview.

Regards!

...JRF...
Court Campbell
Honored Contributor
Solution

Re: rc scripts in HPUX

you can also

# more /sbin/rc
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Fat Scrape
Honored Contributor

Re: rc scripts in HPUX

Hi Sri,

You find a template to create a custom start/stop boot script.

/sbin/init.d/template

Regards,

Fat

Srimalik
Valued Contributor

Re: rc scripts in HPUX

Thanks to all for helping me :)

sri
abandon all hope, ye who enter here..