freebsd-dev/usr.sbin/powerd
Nate Lawson 72699a2216 Set the signal handlers before creating the thread. This is so it inherits
the parent's signal mask.  Once daemon() forked, signals would be ignored
in the child thread.  While I'm here, check the return value of daemon().
This fixes termination in the daemon case (bug introduced in last commit).

Noticed by:	Frederik Lindberg
2005-10-20 05:12:20 +00:00
..
Makefile Use a pipe for reading devd events as another method of getting the AC line 2005-10-19 04:48:44 +00:00
powerd.8 Accept "maximum" and "minimum" modes as well as their abbreviations. 2005-09-26 12:16:27 +00:00
powerd.c Set the signal handlers before creating the thread. This is so it inherits 2005-10-20 05:12:20 +00:00