lkml.org 
[lkml]   [1997]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Feature for sysrq.
Date
From
>    On the other hand, it might be useful to add a capability to the keyboard
> driver allowing arbitrary programs to be executed on press of given key
> combination. This might be simply accomplished by passing a message

This can already be done with the "ctrlaltdel" in inittab. The
keyboard driver sends a signal to init and init starts a process in
response. (It doesn't have to be reboot; most likely it shouldn't be
reboot :-) Assign the (misleadingly named) symbol "Boot" in the
keytable to the key you want.

olaf

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:1.132 / U:0.368 seconds]
©2003-2014 Jasper Spaans. Advertise on this site