1 # apmd Configuration File
3 # $FreeBSD: src/etc/apmd.conf,v 1.2.2.2 2001/08/13 17:30:29 nsayer Exp $
7 exec "/etc/rc.suspend";
10 apm_event USERSUSPENDREQ {
11 exec "sync && sync && sync";
16 apm_event NORMRESUME, STANDBYRESUME {
17 exec "/etc/rc.resume";
20 # resume event configuration for serial mouse users by
21 # reinitializing a moused(8) connected to a serial port.
23 #apm_event NORMRESUME {
24 # exec "kill -HUP `cat /var/run/moused.pid`";
27 # suspend request event configuration for ATA HDD users:
28 # execute standby instead of suspend.
30 #apm_event SUSPENDREQ {
32 # exec "sync && sync && sync";
37 # Sample entries for battery state monitoring
38 #apm_battery 5% discharging {
39 # exec "logger -p user.emerg battery status critical!";
41 #apm_battery 1% discharging {
42 # exec "logger -p user.emerg battery low - emergency suspend";
45 #apm_battery 99% charging {
46 # exec "logger -p user.notice battery fully charged";
49 # apmd Configuration ends here