[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ctrl+Alt+Del inittab and shutdown



Russell Coker wrote:
> 
> >When you do Ctrl+Alt+Del, you reboot the machine with the line in inittab :
> >
> ># What to do when CTRL-ALT-DEL is pressed.
> >ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
> >
> >I would like Ctrl+Alt+End to make a halt of the machine, not a reboot.
> >How can I do this ?
> 
> Change the "-r" to "-h".


Thanks for your answers, but if you read carefully my mail, I say that I want Ctrl+Alt+End
to make a stop, not Ctrl+Alt+Del which still make a reboot.
I am not stupid, if I just want this, I know how to do :-)

Thanks to Miquel van Smoorenburg, he is the only one who understand my question :

>Use "loadkeys" to connect Ctrl-Alt-End to the "KeyboardSignal" action,
>then place an appropriate line (with kbrequest) in /etc/inittab.
>See also man inittab(5).

I understand fairly good, but not the part with KeyboardSignal ; could you tell me more
about this please ?
Thanks.


> 
> Also debian-devel is the wrong forum to ask such questions.  Debian-user is a
> better place to ask.

Yes, it's true, I am sorry about this, but I think that developpers will have more
solutions than users...


Cheers,

-------------
Fabien


Reply to: