NetBSD/etc/powerd/scripts/sleep_button
2003-10-30 17:42:23 +00:00

17 lines
299 B
Bash
Executable File

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