Operating System - HP-UX
1753884 Members
7319 Online
108809 Solutions
New Discussion

program in startup sequence

 
SOLVED
Go to solution
Maurice Peterse
Frequent Advisor

program in startup sequence

i have to start a program every time the system boots.
(/opt/x/y/program)

I've put a link to the program in /sbin/init.d
Can somebody give me a simple script
that i can put in /sbin/rc3.d (=S400program)

1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: program in startup sequence

Hi:

First, you should read this releatively short, but very well written white paper to fully understand how to control startup and shutdown configuration properly:

"HP-UX 10.x Startup and Configuration (HP-UX 10.x)"

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

The paper applies to 10.x and later releases.

Secondly, there is a template which you should obtain; rename and modify:

/sbin/init.d/template

Use this as the basis for your custom startup/shutdown.

...JRF...