[Nut-upsdev] Small patch to apcsmart driver

Charles Lepple clepple at gmail.com
Sun Feb 7 17:08:08 UTC 2010


On Tue, Feb 2, 2010 at 7:51 AM, Michael Haardt <michael at moria.de> wrote:
> the appended patch converts the reason of transfer to be human readable.

Michael,

Thanks for the patch. It has been committed to the trunk.

> How about adding this variable to the usbmon message when it detects
> being on battery?

Currently, the upsmon message is designed to be short enough to be
used in a 'wall' message, as well as an email. This also keeps the
message formatting relatively simple.

If you use the EXEC flag, you can run a script which can use the full
power of the upsc command (using the $UPSNAME variable to query the
UPS of interest).

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list