Link to home
Start Free TrialLog in
Avatar of ineila
ineila

asked on

HP-UX Daemon

I'm programming a daemon in HP-UX, and i would like to know how can lunch it out of inittab. In Solaris, there are the rc scripts in rc#.d but where are they in HP-UX 10.01??
ASKER CERTIFIED SOLUTION
Avatar of dhm
dhm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dhm
dhm

Oh yeah, once you create the shell script in /sbin/init.d, make a symbolic link to it in /sbin/rcX.d, with a name like S95yourdaemon, where "X" is the run-level at which you want your daemon to be executed.  (Normally /sbin/rc3.d is appropriate.)

Apart from the slightly odd location for the scripts, and the extra args that the scripts support, the HP-UX boot process is more-or-less the same as Solaris'.