1827428 Members
3613 Online
109965 Solutions
New Discussion

hpnptyd

 
D.Blond
Frequent Advisor

hpnptyd

Hello,
I have seven serial-ip connections between one hpux 11iV3 and visualizer's.
How can i start the seven daemon's on boot.
ie : hpnptyd -m /dev/ptym/ptysb -x affich78 -p 3001 -t 30 -l /tmp/affich78.log
Thank's.
D.Blond
1 REPLY 1
Bill Hassell
Honored Contributor

Re: hpnptyd

Create a standard start/stop script. A template is located in the /sbin/init.d directory. You need to customize all 4 sections: stop, start, start_msg, stop_msg.

Once the script is working, link the script into the rc2.d startup and shutdown chains. You'll need to name the link slightly after networking starts but before the spooler starts.


Bill Hassell, sysadmin