Subject: SIGPWR not handled by init?
To: None <tech-userlevel@netbsd.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: tech-userlevel
Date: 07/06/2006 14:52:53
I noticed that init on NetBSD doesn't seem to handle SIGPWR reasonably. 
This is unfortunate, because init could be used to initiate a "safe"
shutdown, switching run-states, etc.

I know there is powerd that can watch for power button events, but we
also want to deal with the case like critically low battery power, etc. 
In some of these cases we'd rather have init shutdown gracefully than
just do a hard shutdown.

Thoughts?  (include me in replies, as I'm not on tech-kern@)

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191