summaryrefslogtreecommitdiffstats
path: root/etc/apmd.conf
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-12-30 17:28:06 +0000
committernjl <njl@FreeBSD.org>2003-12-30 17:28:06 +0000
commitdc92f60c73455d47a4f12fcc4033cda71d5e3010 (patch)
tree7df2978487882efbbd26988ce7aa085b9147d6fc /etc/apmd.conf
parentaf0a8468003fa6f8023d5ca404fc9a2b2a276057 (diff)
downloadFreeBSD-src-dc92f60c73455d47a4f12fcc4033cda71d5e3010.zip
FreeBSD-src-dc92f60c73455d47a4f12fcc4033cda71d5e3010.tar.gz
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.
Diffstat (limited to 'etc/apmd.conf')
-rw-r--r--etc/apmd.conf4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud