[796] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

Re: Suggestions on clean shutdown?

daemon@ATHENA.MIT.EDU (Erik Nygren)
Mon Nov 7 16:34:38 1994

To: haynes@cats.ucsc.edu (Jim Haynes)
Cc: linux-dev@MIT.EDU
In-Reply-To: Your message of "Mon, 07 Nov 1994 10:34:27 PST."
             <199411071834.KAA15253@hobbes.UCSC.EDU> 
Date: Mon, 07 Nov 1994 16:34:12 EST
From: Erik Nygren <nygren@MIT.EDU>


>> We're going to try some Linux/Athena machines in public clusters, Linux
>> coexisting with DOS.  To get from DOS to Linux they can just ctrl-alt-del
>> and answer something at the LILO boot: prompt.  To get from Linux to DOS
>> I figured out how to add a box to the xlogin window that says "shut down
>> workstation" and calls shutdown -r when clicked on.  (Is there a way to
>> get ctrl-alt-del to call this when X is running?)  I'm finding corrupt
>> root file systems yet, so I'd like to put some big banner on the screen
>> like "Please wait for the screen to go blank before you reset or turn off
>> power."  I guess making that the warning message passed to shutdown is
>> part of the job; but is there a way to get the banner to show up after
>> X shuts down?  I was thinking of something using the dialog program
>> maybe, since it's colorful and easy to use.  Should something go in
>> /etc/inittab?  So far I haven't been able to get anything on the screen
>> after X shuts down.

The default inittab specifies that /etc/rc.d/rc.0 get executed
on shutdown.  This is what unmounts filesystems, etc.  The process
killing is done when init switches runlevels, I think, so I don't know
if you could get any messages _before_ that starts happening.

	--- Erik

home help back first fref pref prev next nref lref last post