6.x acpi powerbutton

Chuck Swiger cswiger at mac.com
Fri Apr 17 20:24:43 UTC 2009

On Apr 17, 2009, at 12:27 PM, Nate Lawson wrote:
>> Perhaps a silly question, but is it too late at this stage of the  
>> game
>> to try logging S5 events to syslog before dying?  I agree with  
>> Stephen,
>> logging 'shutdown by powerbutton' surely beats what might otherwise
>> resemble a spontaneous reboot?  Or is something already logged here?
> I'm not resisting this, but I'm having trouble seeing the importance.
> What happens differently than if someone hits CTRL-ALT-DEL on a  
> virtual
> console?

Well, I'd like to get a one-line message saying "rebooted by CTRL-ALT- 
DEL" versus "shutdown by powerbutton".  Other systems would log a one- 
liner like "system rebooted by /etc/shutdown -i 6: _MESSAGE_"....


More information about the freebsd-stable mailing list