Home | History | Annotate | Download | only in apmd
History log of /src/usr.sbin/apmd/apmd.c
RevisionDateAuthorComments
 1.32  25-Nov-2011  joerg Use static + __dead
 1.31  28-Apr-2008  martin branches: 1.31.4;
Remove clause 3 and 4 from TNF licenses
 1.30  07-Oct-2006  elad branches: 1.30.16;
PR/18906: roskens at elfin dot net: misc. select() to poll() updates.

Adapted to -current by myself, thanks for the patch!
 1.29  09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.28  20-Jan-2006  elad Default socket owner to operator:operator.
 1.27  06-Jan-2004  wiz Remove unused (unsafe!) MAX macro. From Jeff Ito in PR 23995.
 1.26  24-Jun-2003  martin Make child processes log failure to exec scripts.
 1.25  23-Sep-2002  mycroft null commit
 1.24  23-Sep-2002  itojun poll.h, not sys/poll.h
 1.23  18-Sep-2002  mycroft select() -> poll()
 1.22  11-Jan-2002  itojun daemon(3) has to be called prior to file descriptor setups.
 1.21  31-Dec-2001  thorpej Statements must follow labels.
 1.20  15-Sep-2001  enami Zero clear the apm_power_info structure being passed to ioctl.
 1.19  06-Apr-2001  wiz Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.18  19-Feb-2001  cgd convert to use getprogname()
 1.17  25-Jan-2001  chuck be more picky about running /etc/apm/{battery,line} in response
to APM_POWER_CHANGE event. some BIOS post this event periodically
while the battery is charging/discharging (no change in a/c state).
on these systems this prevents /etc/apm/{battery,line} from being
run multiple times.
 1.16  11-Jan-2001  lukem use explicit name rather than __progname in openlog
 1.15  13-Aug-2000  jhawk Check for lowbattery state (if running -l) when polling for state,
rather than just when receiving events. Thus, if events are not
working (for some unknown reason...), low-power shutdown will
still work.
 1.14  04-Mar-2000  mycroft branches: 1.14.4;
Add a `-v' option, and make various log messages depend on `-d' or `-v'.
 1.13  13-Jan-2000  jlam Add 'l' to getopt-checked flags
 1.12  04-Sep-1999  soren Do not force logging of status in the POWER_CHANGE case. Any
interesting changes will be noticed and printed by power_status().
 1.11  06-Jun-1999  thorpej Use pidfile(3).
 1.10  19-Dec-1998  christos branches: 1.10.2;
PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagically
when the is a battery low event.
 1.9  19-Nov-1998  kenh Add support for running scripts for line power to battery transitions
(and vice versa).
 1.8  18-Jul-1998  lukem use AF_LOCAL instead of AF_UNIX
 1.7  17-Oct-1997  lukem remove unnecessary externs
 1.6  30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.5  01-Mar-1997  jtk PR # 3271: ignore SIGPIPE to avoid nasty clients causing apmd to die.
From Lennart Augustsson <augustss@cs.chalmers.se>.
 1.4  25-Sep-1996  jtc Copyright has been assigned to The NetBSD Foundation
 1.3  17-Sep-1996  jtk bug fix: set fromlen to sizeof(from)
 1.2  13-Sep-1996  jtk add -o and -m options for owner/group and mode of the socket
 1.1  25-Aug-1996  jtk add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
 1.10.2.1  11-Nov-1999  he Pull up revision 1.12 (requested by soren):
Avoid excessive printing of power status.
 1.14.4.1  03-Feb-2001  he Pull up revision 1.17 (requested by chuck):
Be more picky about running /etc/apm/{battery,line} in response
to APM_POWER_CHANGE event. Some BIOSes post this event periodically
while the battery is charging/discharging, even though there's
no change in a/c state. Thus, track a/c state, and only run the
scripts when a/c state actually changes.
 1.30.16.1  18-May-2008  yamt sync with head.
 1.31.4.1  17-Apr-2012  yamt sync with head

RSS XML Feed