You can add at /etc/devd a configuration file like power.conf
with the following content:

notify 10 {
        match "system"          "ACPI";
        match "subsystem"       "Button";
        match "notify"          "0x00";
        notify "/etc/rc.halt";

It works fine for kvm with libvirt or qemu direct.


View this message in context:
Sent from the freebsd-acpi mailing list archive at
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to