1846449 Members
2553 Online
110256 Solutions
New Discussion

dtcreset at start up

 
CSP_ALGERIA
Frequent Advisor

dtcreset at start up


Hello,

we have a L3000 running under HPUX 11.i , we wante to send dtcreset command to the DTC every time when the system boot with HPUX.

please in witch file this command should be insert.

Best regards

Nothing in the world can take the place of persistence.
1 REPLY 1
Bill Hassell
Honored Contributor

Re: dtcreset at start up

All startup tasks are run from the scripts in /sbin/init.d and there is a template located in that directory. To control the order in which all those scripts are executed during startup (and shutdown), a symbolic link must be created in /sbin/rc?.d where ? is the run level you normally use (typically 3). Just copy the template into /sbin/init.d and put the appropriate command(s) there. Then make the link. Your DTC software may already have a startup script in /sbin/init.d. Read this link about start/stop scripts: http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/44-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/44-toc.html&searchterms=/sbin/init.d%7cstart&queryid=20040207-081118


Bill Hassell, sysadmin