The acpilid(4) powerd script is "lid_switch" not "lid_button"... found
by jmcneill@.
This commit is contained in:
parent
a213499d32
commit
555fcb5606
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sysmon_power.c,v 1.20 2007/07/15 15:27:53 ad Exp $ */
|
||||
/* $NetBSD: sysmon_power.c,v 1.21 2007/08/07 14:03:00 xtraeme Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
@ -80,7 +80,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sysmon_power.c,v 1.20 2007/07/15 15:27:53 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sysmon_power.c,v 1.21 2007/08/07 14:03:00 xtraeme Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
#include <sys/param.h>
|
||||
@ -120,7 +120,7 @@ static const struct power_event_description pswitch_event_desc[] = {
|
||||
static const struct power_event_description pswitch_type_desc[] = {
|
||||
{ PSWITCH_TYPE_POWER, "power_button" },
|
||||
{ PSWITCH_TYPE_SLEEP, "sleep_button" },
|
||||
{ PSWITCH_TYPE_LID, "lid_button" },
|
||||
{ PSWITCH_TYPE_LID, "lid_switch" },
|
||||
{ PSWITCH_TYPE_RESET, "reset_button" },
|
||||
{ PSWITCH_TYPE_ACADAPTER, "acadapter" },
|
||||
{ -1, NULL }
|
||||
|
Loading…
Reference in New Issue
Block a user