diff options
author | Nate Lawson <njl@FreeBSD.org> | 2003-12-30 17:40:28 +0000 |
---|---|---|
committer | Nate Lawson <njl@FreeBSD.org> | 2003-12-30 17:40:28 +0000 |
commit | a6991e097f307e3fe8b7401ffb1f816aec9deccf (patch) | |
tree | 593868c9507cf2d707bce6aa71cdae3fe410dfa6 /etc/apmd.conf | |
parent | 56c46bdee4f197d6b14e74f459f3dc36383385cc (diff) | |
download | src-a6991e097f307e3fe8b7401ffb1f816aec9deccf.tar.gz src-a6991e097f307e3fe8b7401ffb1f816aec9deccf.zip |
Use separate events for resume from standby and suspend in the apm(4)
case so that if devices need different initialization, we can key off
this in the rc scripts (currently unused). Also update the man page
which is a 100% duplicate of the rc scripts.
Notes
Notes:
svn path=/head/; revision=124003
Diffstat (limited to 'etc/apmd.conf')
-rw-r--r-- | etc/apmd.conf | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/apmd.conf b/etc/apmd.conf index 672673059486..be4a6c3ddd4c 100644 --- a/etc/apmd.conf +++ b/etc/apmd.conf @@ -13,8 +13,12 @@ apm_event USERSUSPENDREQ { exec "apm -z"; } -apm_event NORMRESUME, STANDBYRESUME { - exec "/etc/rc.resume apm resume"; +apm_event NORMRESUME { + exec "/etc/rc.resume apm suspend"; +} + +apm_event STANDBYRESUME { + exec "/etc/rc.resume apm standby"; } # resume event configuration for serial mouse users by |