From: peter@nmti.com (Peter da Silva)
Subject: Re: Does 'shutdown' really shutdown?
Date: Mon, 27 Jun 1994 15:42:42 GMT [thread overview]
Message-ID: <id.W_QA1.5E5@nmti.com> (raw)
In-Reply-To: 2umjjp$nn3@nntpd.lkg.dec.com
In article <2umjjp$nn3@nntpd.lkg.dec.com>,
Eric Werme <werme@zk3.dec.com> wrote:
> No problem. Ask me something about NFS. One thing I like to do with
> the rc3 script is print the name of the script it is about to execute.
> You might want to do the same with the rc0 script:
Next time I'm playing with one of the workstations I'll do that.
Short of that, though, I can't see any indication that shutdown -r runs any
rc scripts. There's nothing in inittab or rc0 to make rc0 run reboot. When
rc0 gets to the end it either calls "init S" or "halt -q", so shutdown can't
run it and then call reboot, and init can't run it and then call reboot,
and there's no other code to run the rc0 scripts anywhere that I can see.
I haven't called it in as a bug because I don't know what your *intent* is,
here. After all, the core is still the stock BSD code with /sbin/reboot
and /sbin/halt. I'm grateful that it has run levels at all.
Now that you've implied that you *do* want it to work right (you in the
collective sense, of course) I'll see about pushing it through channels.
How about adding a "-i" option to shutdown as well, so we can add custom
run levels (like standalone backup) more easily?
--
Peter da Silva `-_-'
Network Management Technology Incorporated 'U`
1601 Industrial Blvd. Sugar Land, TX 77478 USA
+1 713 274 5180 "Hast Du heute schon Deinen Wolf umarmt?"
next prev parent reply other threads:[~1994-06-27 15:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-06-23 7:41 Does 'shutdown' really shutdown? Horst Luehrsen
1994-06-23 15:54 ` Peter da Silva
1994-06-24 13:33 ` Eric Werme
1994-06-24 16:58 ` Peter da Silva
1994-06-27 13:18 ` Eric Werme
1994-06-27 15:42 ` Peter da Silva [this message]
1994-06-27 16:18 ` Digital Jesus
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