battery low script

m.ehinger at ltur.de m.ehinger at ltur.de
Tue Aug 23 06:19:19 GMT 2005


Sorry my mistake, i forgot it completely, thanks

(See attached file: battery)

maik



                                                                                                                                    
             Nate Lawson <nate at root.org>                                                                                            
                                                                                                                                    
             22.08.2005 18:51                                                                                                    An 
                                                               m.ehinger at ltur.de                                                    
                                                                                                                              Kopie 
                                                                                                                                    
                                                                                                                              Thema 
                                                               Re: battery low script                                               
                                                                                                                                    
                                                                                                                                    
                                                                                                                                    
                                                                                                                                    
                                                                                                                                    
                                                                                                                                    




m.ehinger at ltur.de wrote:
> Hi,
>
> i use the attached script to shutdown my notebook on low battery automatically.
>
> I also added the following to /etc/devd.conf
>
> notify 10 {
>       match "system"          "ACPI";
>       match "subsystem" "CMBAT";
>       action                  "/etc/battery $notify";
> };
>
>
> Please feel free to try without any guarantees.
>
> Comments are welcome.
>
> thanks
>
> Maik

the attachment was missing.  Try sending it inline, not as an attachment.

--
Nate
-------------- next part --------------
A non-text attachment was scrubbed...
Name: battery
Type: application/octet-stream
Size: 2154 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20050823/0de23158/battery.obj


More information about the freebsd-acpi mailing list