summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd/apmd.c
AgeCommit message (Expand)Author
2011-11-25Use static + __deadjoerg
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2006-10-07PR/18906: roskens at elfin dot net: misc. select() to poll() updates.elad
2006-05-09change (mostly) int to socklen_t. GCC 4 doesn't like that int andmrg
2006-01-20Default socket owner to operator:operator.elad
2004-01-06Remove unused (unsafe!) MAX macro. From Jeff Ito in PR 23995.wiz
2003-06-24Make child processes log failure to exec scripts.martin
2002-09-23null commitmycroft
2002-09-23poll.h, not sys/poll.hitojun
2002-09-18select() -> poll()mycroft
2002-01-11daemon(3) has to be called prior to file descriptor setups.itojun
2001-12-31Statements must follow labels.thorpej
2001-09-15Zero clear the apm_power_info structure being passed to ioctl.enami
2001-04-06Negative exit code cleanup: Replace exit(-x) with exit(x).wiz
2001-02-19convert to use getprogname()cgd
2001-01-25be more picky about running /etc/apm/{battery,line} in responsechuck
2001-01-11use explicit name rather than __progname in openloglukem
2000-08-13Check for lowbattery state (if running -l) when polling for state,jhawk
2000-03-04Add a `-v' option, and make various log messages depend on `-d' or `-v'.mycroft
2000-01-13Add 'l' to getopt-checked flagsjlam
1999-09-04Do not force logging of status in the POWER_CHANGE case. Anysoren
1999-06-06Use pidfile(3).thorpej
1998-12-19PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagicallychristos
1998-11-19Add support for running scripts for line power to battery transitionskenh
1998-07-18use AF_LOCAL instead of AF_UNIXlukem
1997-10-17remove unnecessary externslukem
1997-07-30Fix files using old TNF copyright noticejtc
1997-03-01PR # 3271: ignore SIGPIPE to avoid nasty clients causing apmd to die.jtk
1996-09-25Copyright has been assigned to The NetBSD Foundationjtc
1996-09-17bug fix: set fromlen to sizeof(from)jtk
1996-09-13add -o and -m options for owner/group and mode of the socketjtk
1996-08-25add Advanced Power Management driverjtk