1 # apmd Configuration File
3 # $FreeBSD: src/etc/apmd.conf,v 1.2.2.2 2001/08/13 17:30:29 nsayer Exp $
4 # $DragonFly: src/etc/apmd.conf,v 1.2 2003/06/17 06:24:45 dillon Exp $
8 exec "/etc/rc.suspend";
11 apm_event USERSUSPENDREQ {
12 exec "sync && sync && sync";
17 apm_event NORMRESUME, STANDBYRESUME {
18 exec "/etc/rc.resume";
21 # resume event configuration for serial mouse users by
22 # reinitializing a moused(8) connected to a serial port.
24 #apm_event NORMRESUME {
25 # exec "kill -HUP `cat /var/run/moused.pid`";
28 # suspend request event configuration for ATA HDD users:
29 # execute standby instead of suspend.
31 #apm_event SUSPENDREQ {
33 # exec "sync && sync && sync";
38 # Sample entries for battery state monitoring
39 #apm_battery 5% discharging {
40 # exec "logger -p user.emerg battery status critical!";
41 # exec "echo T250L8CE-GE-C >/dev/speaker";
43 #apm_battery 1% discharging {
44 # exec "logger -p user.emerg battery low - emergency suspend";
45 # exec "echo T250L16B+BA+AG+GF+FED+DC+CC >/dev/speaker";
48 #apm_battery 99% charging {
49 # exec "logger -p user.notice battery fully charged";
52 # apmd Configuration ends here