From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ec7c864538edcffc X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-10-01 14:53:55 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!not-for-mail Message-ID: <3BB8E636.969EF284@smbc-cm.com> From: Oisin McGuinness Organization: SMBC Capital Markets X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: en,el MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Calling External Scripts From Within A "setld" SCP? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 01 Oct 2001 17:55:02 -0400 NNTP-Posting-Host: 204.141.189.14 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 1001973232 204.141.189.14 (Mon, 01 Oct 2001 21:53:52 GMT) NNTP-Posting-Date: Mon, 01 Oct 2001 21:53:52 GMT Xref: archiver1.google.com comp.unix.tru64:5092 Gary Gale wrote: > > Does anyone know whether you can invoke an external script from within > a setld SCP during the C phase of a product installation? > Specifically, if I've got a script file which is installed in between > PRE_L and POST_L, can I invoke it during the configuration phase? > I would guess you can. Lots and lots of examples of .scp scripts can be found in the OS setld inventory directory, /usr/.smdb./ Many of these do funky things during the C phase, including invoking external programs. E.g., see COLBASE200.scp which calls rcmgr. Others I've taken a quick peek at do mkdir's, etc. The DIABASExxx.scp script seems to do a particularly gruesome set of tasks. There are even helpful looking comments in some of these about potential problems with setld. Remember also that setld is just a script itself... -- Oisin McGuinness SMBC Capital Markets 277 Park Avenue New York NY 10172 USA (212)-224-4913, email: oisin@smbc-cm.com (Changed April 2 2001 from oisin@sbcm.com.)