summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd/apmd.c
AgeCommit message (Collapse)Author
2001-12-12daemon() can close innocent file descriptors, including opened log.Michael Shalayeff
be more carefull about that and nicer to debugging. daemon() thingie was pointed out by markus@ .
2001-12-09i like it this way betterMichael Shalayeff
2001-12-09*** empty log message ***Miod Vallat
2001-11-14On macppc, when the battery is charging, the life time estimatation is in factMiod Vallat
the recharge time estimation. So there is no need to annoy the user if this value is <= 10 minute, since no surprise powerdown is about to happen. ok drahn@ mickey@
2001-11-14indentTheo de Raadt
2001-08-17changes for new kqueue iface, make sure to make includes firstMichael Shalayeff
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-07cleanup and knf, some are from Kevin Steves <stevesk@pobox.com>Michael Shalayeff
2001-03-23ac on/off hooks; from angelos@Michael Shalayeff
2001-03-22backing out undiscussed changes outside your areaTheo de Raadt
2001-03-22Power status change after resume only if it really changed.Angelos D. Keromytis
2001-03-22Emulate a powerup/powerdown when resuming.Angelos D. Keromytis
2001-03-22Introduce powerup/powerdown actions, when power status changes (ACAngelos D. Keromytis
connected/disconnected).
2001-03-09exit(-#) is wrongTheo de Raadt
2001-01-16use _exit() in signal handlerTheo de Raadt
2000-10-06use dynamic fd_set to avoid overflowTheo de Raadt
1999-06-04quiet gccTheo de Raadt
1998-07-21update usage; back out time remaining display change until I'm sure itMarco S Hyman
is correct; don't long every power status change in normal operation (patch from danw@MIT.EDU).
1998-07-18apmd will turn off apm driver messages when in daemon modeMarco S Hyman
added three flags. -m to not turn off messages. -e to turn them back on after an apmd crash. -p to turn on print percentage change mode.
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingTheo de Raadt
1997-04-13Fixed socket permissions race at startup; corrected error message tobitblt
correctly reflect socket permissions.
1996-04-29Pull in John Kohl's most recent (15Apr96) APM and PCMCIA workhvozda
(original PCMCIA framework by Stefan Grefen).