Date: Sun, 14 Sep 2003 14:22:37 +0200 From: Damien Touraine <webmyster@addoc.u-psud.fr> To: freebsd-questions@freebsd.org Subject: Soft shutdown when using power button with ACPI ... Message-ID: <3F645D8D.8070604@addoc.u-psud.fr>
next in thread | raw e-mail | index | archive | help
Hello, my computer is running FreeBSD 5.1 and I would like to know how to configure FreeBSD to recognize when I press the power button to do a software shutdown. Actually, this computer was previously configured with Linux and under Linux, and there was a daemon that was listening for the ACPI buttons. Thus when I pressed the power button, it runs the configured command (ie : "shutdown -h now"). Under FreeBSD, when I press the power button, the system directly power off without doing any software shutdown. Is there any way to configure FreeBSD to do a soft shutdown when I press the power button ? Friendly Damien Touraine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F645D8D.8070604>