Date: Wed, 25 May 2011 22:11:20 +0400 From: Nikita A Menkovich <menkovich@gmail.com> To: falk <falknisius@gmx.de> Cc: freebsd-acpi@freebsd.org Subject: Re: Problem with FreeBSD graceful shutdown Message-ID: <BANLkTik-CvuSEScA52LPBJwOWTbks6tBuw@mail.gmail.com> In-Reply-To: <1306251672702-4422479.post@n5.nabble.com> References: <AANLkTin3pTTeAqX2yEEvQLS15NW-5Z%2BVuLoy1oFWxZFZ@mail.gmail.com> <1306251672702-4422479.post@n5.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Seems this was bug in 0.8* branch of libvirt in later versions
everything works fine.
By the way - thanks for the answer. :)
On 24 May 2011 19:41, falk <falknisius@gmx.de> wrote:
> You can add i file at /etc/devd with the configuration for the power button.
> Perhaps you name the file power.conf
> The Content should be
>
> notify 10 {
> match "system" "ACPI";
> match "subsystem" "Button";
> match "notify" "0x00";
> notify "/etc/rc.halt";
> };
>
> It tolds the devd, if there is a message from ACPI, and from the Buttons (0
> means the power button, 1 means the sleep button) than call the halt script
> to shutdown the system. You can use a other script with more cleaning up
> before the shutdown -p would be invoked.
>
> It works for me with libvirt and qemu Monitor both
>
> Falk
>
>
> --
> View this message in context: http://freebsd.1045724.n5.nabble.com/Problem-with-FreeBSD-graceful-shutdown-tp4227264p4422479.html
> Sent from the freebsd-acpi mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-acpi@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org"
>
--
Nikita A Menkovich
http://libc6.org/
JID: menkovich@gmail.com
Tel: +7 (921) 423-96-48
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTik-CvuSEScA52LPBJwOWTbks6tBuw>
