Roger,

How would you write the SHUTDOWNCMD line with multiple commands?  I’ve been 
looking at the manual and see that you have to escape the internal “ but am 
still a little confused on how to do this exactly.

--
Todd Benivegna // t...@benivegna.com
On Aug 2, 2020, 9:38 AM -0400, Roger Price <ro...@rogerprice.org>, wrote:
>
> upsmon.conf doesn't support reporting battery charge in the notification
> messages, but you can specify multiple shell commands in the SHUTDOWNCMD 
> entry.
> E.g. `upsc ups@192.168.1.70 battery.charge` and `upsc ups@192.168.1.70
> ups.status`. This will show what the situation was at that moment.
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to