apmd.conf revision 50472
1# apmd Configration File 2# 3# $FreeBSD: head/etc/apmd.conf 50472 1999-08-27 23:37:10Z peter $ 4# 5 6apm_event SUSPENDREQ { 7 exec "/etc/rc.suspend"; 8} 9 10apm_event USERSUSPENDREQ { 11 exec "sync && sync && sync"; 12 exec "sleep 1"; 13 exec "apm -z"; 14} 15 16apm_event NORMRESUME, STANDBYRESUME { 17 exec "/etc/rc.resume"; 18} 19 20# resume event configuration for serial mouse users by 21# reinitializing a moused(8) connected to a serial port. 22# 23#apm_event NORMRESUME { 24# exec "kill -HUP `cat /var/run/moused.pid`"; 25#} 26 27# suspend request event configuration for ATA HDD users: 28# execute standby instead of suspend. 29# 30#apm_event SUSPENDREQ { 31# reject; 32# exec "sync && sync && sync"; 33# exec "sleep 1"; 34# exec "apm -Z"; 35#} 36 37# apmd Configration ends here 38 39