From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c495d349a299fd95 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-27 09:02:08 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!hookup!usc!howland.reston.ans.net!swrinde!news.uh.edu!uuneo.neosoft.com!nmtigw!peter From: peter@nmti.com (Peter da Silva) Subject: Re: Does 'shutdown' really shutdown? Message-ID: Sender: peter@nmti.com (peter da silva) Organization: Network/development platform support, NMTI References: <2ubec7Ebqk@uni-erlangen.de> <2umjjp$nn3@nntpd.lkg.dec.com> Date: Mon, 27 Jun 1994 15:42:42 GMT In article <2umjjp$nn3@nntpd.lkg.dec.com>, Eric Werme 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?"