From 5b48e7752558011e542d72b8abe93e9b4f939f71 Mon Sep 17 00:00:00 2001 From: njl Date: Tue, 30 Dec 2003 17:40:28 +0000 Subject: 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. --- etc/apmd.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'etc/apmd.conf') diff --git a/etc/apmd.conf b/etc/apmd.conf index 6726730..be4a6c3 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 -- cgit v1.1