Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: smulcahy@soggey.ilo.dec.com (Stephen Mulcahy)
Subject: Using rc0.d
Date: 1997/09/01	[thread overview]
Message-ID: <5ue7go$5cr$1@mrnews.mro.dec.com> (raw)


Hi,

I've been trying to setup some scripts that will 
be executed when a machine running Digital Unix 4.0b
is rebooted with the 'shutdown -r <time>' command-line.

Maybe I've misunderstood the use of the rcX.d directories
but I was under the impression that if I put a script in here
with the name K70foo.sh for instance that when the machine
was rebooted, that the script K70foo.sh would be executed.
So far, I have failed to get this working. I have however,
gotten a similar script S95foo.sh in the rc3.d working that
successfully executes when the machine is brought up to
run level 3. I wonder, has anyone else had similar 
difficulties or is anyone successfully using the rc0.d
directory for this sort of thing?

I suppose I could always put some entries in the rc0 file
but this seems a little inelegant.

Thanks for your help,

-stephen

----
                   Stephen Mulcahy, Software Engineer,
Digital Equipment International BV, Ballybrit Business Park, Galway, Ireland
         Disclaimer: This posting does not neccesarily represent the 
                views/opinions or thoughts of my employers




             reply	other threads:[~1997-09-01  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-01  4:00 Stephen Mulcahy [this message]
1997-09-03  4:00 ` Using rc0.d Michael Bradford
1997-09-04  4:00 ` Dan Duncan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox