From dc92f60c73455d47a4f12fcc4033cda71d5e3010 Mon Sep 17 00:00:00 2001 From: njl Date: Tue, 30 Dec 2003 17:28:06 +0000 Subject: Add support for /etc/rc.suspend and /etc/rc.resume for ACPI. They are called directly from acpiconf(8). Change both scripts to take a subsystem (apm|acpi) and sleep level (suspend,standby|1-5) argument. --- etc/apmd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/apmd.conf') diff --git a/etc/apmd.conf b/etc/apmd.conf index 4dc79be..6726730 100644 --- a/etc/apmd.conf +++ b/etc/apmd.conf @@ -4,7 +4,7 @@ # apm_event SUSPENDREQ { - exec "/etc/rc.suspend"; + exec "/etc/rc.suspend apm suspend"; } apm_event USERSUSPENDREQ { @@ -14,7 +14,7 @@ apm_event USERSUSPENDREQ { } apm_event NORMRESUME, STANDBYRESUME { - exec "/etc/rc.resume"; + exec "/etc/rc.resume apm resume"; } # resume event configuration for serial mouse users by -- cgit v1.1