[lkml]   [1997]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Feature for sysrq.
>    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.


 \ /
  Last update: 2005-03-22 13:39    [W:0.099 / U:36.220 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site