Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2009 16:24:14 -0400
From:      Stephen Clark <sclark46@earthlink.net>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 6.x acpi powerbutton
Message-ID:  <49DE596E.2050406@earthlink.net>
In-Reply-To: <49DE2E6D.5050001@icyb.net.ua>
References:  <49DE1F8B.2080400@earthlink.net> <49DE2E6D.5050001@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

   Andriy Gapon wrote:

on 09/04/2009 19:17 Stephen Clark said the following:
  

Hello,

I am trying to figure out what happens on a soft poweroff? Is there a
userspace script that gets called?
    

If everything works correctly, then acpi driver sends a signal to init which
causes a typical graceful shutdown.

BTW, was this really a question for stable ml?

  

   Probably not. But I spent a couple of hours googling without much luck
   so I got desperate. ;-)
   Is there a reason it doesn't send and event like Linux that can be
   acted upon by user space other
   than signaling init? I like to have a message written in
   /var/log/messages that someone pressed
   the powerbutton.
   Thanks
-- 

"They that give up essential liberty to obtain temporary safety, 
deserve neither liberty nor safety."  (Ben Franklin)

"The course of history shows that as a government grows, liberty 
decreases."  (Thomas Jefferson)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49DE596E.2050406>