On Thu, 11 Jun 2015 10:04:13 -0700 (PDT)
"Robert Hencke" <[email protected]> wrote:
> On Thu, Jun 11, 2015 at 12:59 PM, Steve Litt
> <[email protected]> wrote:
> 
> > Hi all,
> > What interrupt does Ctrl+Alt+Delete send PID1?
> > Google just tells how to tweak /etc/inittab to react to
> > Ctrl+Alt+Del, but in my case /etc/inittab isn't being used: I need
> > to react to the specific interrupt.
> > Thanks,
> > SteveT
> > Steve Litt 
> > June 2015 featured book: The Key to Everyday Excellence
> > http://www.troubleshooters.com/key


> I believe this is SIGINT.
> 

Thanks Robert,

I have a feeling that SIGINT isn't getting all the way to PID1. When I
do the following:

kill -s SIGINT 1

It runs rc.shutdown with the argument "reboot" and reboots the system,
just like it's supposed to. But when I press Ctrl+Alt+Del at a virtual
terminal, it doesn't. That makes me suspect that either Ctrl+Alt+Del is
sending a different interrupt to PID 1, or the SIGINT it's sending
isn't getting to PID 1.

I'll try to research if further.

Thanks again,

SteveT

Steve Litt 
June 2015 featured book: The Key to Everyday Excellence
http://www.troubleshooters.com/key

Reply via email to