On Fri, May 03, 2002 at 09:32:04AM +0530, Ajay wrote:
> 
> I'm using ctrl+alt+del for shutdown. Similarly, I wanted to 
> have a uniq. key-combination for aborting a shutdown, hence 
> I added the statement to inittab:
>

This three-finger-salute is okay for a stand-alone box, other-
wise it is best left disabled.

> 
> kb::kbrequest:/sbin/shutdown -c
>
> I did a dummy run by pressing the Alt+Up arrow key combi. 
> and fine, it works,  i.e., it tries to find the shutdown 
> pid and fails. But when I tried to abort a real shutdown 
> in progress, it shows absolutely no response. Why?
> 

shutdown -c can only act  before  all processes are killed
and devices unmounted. If you leave no time gap  for shut-
down (viz. shutdown -h now) then usually it is  a  bit too
late for you to get on to another console and type  in the
cancellation command  (shutdown -c) ... by that time prob-
ably the shutdown sequence has already  progressed  beyond
recovery. The keyboard itself may be disabled by then ...

HTH

Bish


--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Rotating screen resolution under X             LOST #253

To rotate through various resolutions/ modes  set  up for your 
system under /etc/XF86config press [Shift]+[Numeric Plus]  and
[Shift]+[Numeric Minus]. Works  for several keyboards ... This
is the easiest method for shifting from 800x600 to 640x480 and
others!

####<[EMAIL PROTECTED]>##################################
:

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to