2003-10-30 20:34:45 +03:00
|
|
|
#!/bin/sh -
|
|
|
|
#
|
2003-10-30 20:42:23 +03:00
|
|
|
# $NetBSD: sleep_button,v 1.2 2003/10/30 17:42:23 mycroft Exp $
|
2003-10-30 20:34:45 +03:00
|
|
|
#
|
2003-10-30 20:42:23 +03:00
|
|
|
# Generic script for sleep button events. We do nothing for now.
|
2003-10-30 20:34:45 +03:00
|
|
|
#
|
|
|
|
# Arguments passed by powerd(8):
|
|
|
|
#
|
|
|
|
# device event
|
|
|
|
|
|
|
|
case "${2}" in
|
|
|
|
*)
|
|
|
|
logger -p warning "${0}: unsupported event ${2} on device ${1}"
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|