summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd
Commit message (Collapse)AuthorAgeFilesLines
* english(4) police.schweikh2002-12-271-1/+1
|
* The .Nm utilitycharnier2002-07-141-9/+15
|
* de-__P()alfred2002-07-111-4/+4
|
* Handle snprintf() returning < 0 (not just -1)brian2001-08-201-1/+1
| | | | MFC after: 2 weeks
* Handle snprintf() returning -1.brian2001-08-201-1/+5
| | | | MFC after: 2 weeks
* mdoc(7) police:ru2001-08-071-5/+3
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-2/+1
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+1
|
* Remove whitespace at EOL.dd2001-07-151-12/+12
|
* Add battery state monitoring to apmd.nsayer2001-05-154-8/+238
| | | | | | | | | | | | | | | | | | | | | | The new syntax available in the config file is: apm_battery [0-9]+(%|[Mm) (dis|)charging { ... } The stuff in the braces is the same as the existing case. nn% checks for a certain percentage of life remaining and nnM checks for a cerain number of minutes remaining. Specifying "discharge" means that you're interested in knowing when the battery reaches a certain level while AC power is off, "charging" the opposite. The man page needs to be updated. The code can be fooled. If you SIGHUP the daemon and the battery level matches a rule it will be performed once per SIGHUP. If the battery level matches a rule and you repeatedly apply and take away AC power, the rule will be run once per occurance. This, however, is a feature. :-) The code also only runs when select() times out, so getting APM events more often than the timeout interval will result in the rules not being run. These are things that remain to be overcome.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+2
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+0
|
* Check strdup() return valuesjedgar2001-01-202-4/+14
| | | | Reviewed by: kris
* mdoc(7) police: add missing .Ed call.ru2001-01-181-0/+1
|
* Prepare for mdoc(7)NG.ru2000-12-271-2/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-21/+21
|
* Don't forget to clean y.output. Most files generated by yacc are cleanedbde2000-05-151-7/+5
| | | | | | automatically, but not this one. Fixed some style bugs.
* Remove Xr to apmconf(8) since it got replaced in total by apm(8).asmodai2000-01-231-2/+1
|
* Spelling fix.mpp1999-10-301-6/+2
| | | | | | | Also fix a minor mdoc style problem that I noticed. PR: bin/14589 Submitted by:hristian Weisgerber <naddy@mips.rhein-neckar.de>
* Fix warning: return type of `main' is not `int'peter1999-09-151-1/+1
|
* Fix debut version to 3.3, not 4.0.iwasaki1999-09-111-1/+1
|
* Handle CAPABILITIESCHANGE event.iwasaki1999-09-111-0/+2
| | | | Document USERSTANDBYREQ and CAPABILITIESCHANGE events to apmd manpage.
* $Header$ -> $FreeBSD$peter1999-08-281-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-287-7/+7
|
* Fix typo ($Id: ... % --> $Id: ... $).iwasaki1999-07-101-1/+1
|
* The apmd package provides a means of handling various APM events fromiwasaki1999-07-108-0/+1697
userland code. Using apmd.conf, the apmd(8) configuration file, you can select the APM events to be handled from userland and specify the commands for a given event, allowing APM behaviour to be configured flexibly. Have Fun! Submitted by: iwasaki, KOIE Hidetaka <hide@koie.org> Reviewed by: -hackers, -mobile and bsd-nomads ML folks. Contributed by: Warner Losh <imp@FreeBSD.org>, Hiroshi Yamashita <bluemoon@msj.biglobe.ne.jp>, Yoshihiko SARUMARU <mistral@imasy.or.jp>, Norihiro Kumagai <kuma@nk.rim.or.jp>, NAKAGAWA Yoshihisa <nakagawa@jp.FreeBSD.org>, and Nick Hilliard <nick@foobar.org>.
OpenPOWER on IntegriCloud