summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd/README
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-05-19 08:52:51 +0000
committeruqs <uqs@FreeBSD.org>2010-05-19 08:52:51 +0000
commita04b2a20be978a06afae263bda8e096122045f41 (patch)
treec79bbbd514a324efb22591212b0eaf67cd7e50db /usr.sbin/apmd/README
parentebb7d74daeb7d8d95e5f195222ca706cfe992819 (diff)
downloadFreeBSD-src-a04b2a20be978a06afae263bda8e096122045f41.zip
FreeBSD-src-a04b2a20be978a06afae263bda8e096122045f41.tar.gz
- Fix terminating argument to execl(3), sizeof(NULL) != sizeof(char *)
might be true on some systems [1] - Rewrite gotos to use return directly - Some spelling fixes - Reduce unneeded/non-standard Makefile settings Requested by: bde, imp [1] Explanation provided by: bde [1] Reviewed by: imp
Diffstat (limited to 'usr.sbin/apmd/README')
-rw-r--r--usr.sbin/apmd/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/apmd/README b/usr.sbin/apmd/README
index 59a56e3..dd0a03a 100644
--- a/usr.sbin/apmd/README
+++ b/usr.sbin/apmd/README
@@ -92,7 +92,7 @@ apm_event SUSPENDREQ {
exec "zzz";
}
-Will cause apmd to recieve the APM event SUSPENDREQ (which may be
+Will cause apmd to receive the APM event SUSPENDREQ (which may be
posted by an LCD close), run the sync command 3 times and wait for a
while, then execute zzz (apm -z) to put the system in the suspend
state.
@@ -130,7 +130,7 @@ Other events will not be sent to apmd.
4.3 command line syntax
-----------------------
-In the example above, the three lines begining with `exec' are commands
+In the example above, the three lines beginning with `exec' are commands
for the event. Each line should be terminated with a semicolon. The
command list for the event should be enclosed by `{' and `}'. apmd(8)
uses /bin/sh for double-quotation enclosed command execution, just as
OpenPOWER on IntegriCloud