Files
openhab/apcups/USV_dump_log

4 lines
82 B
Plaintext
Raw Normal View History

2017-11-15 09:37:56 +01:00
#!/bin/bash
2017-11-15 09:48:16 +01:00
export UPS_LOG="$(/sbin/apcaccess status 127.0.0.1:$1)"
2017-11-15 09:37:56 +01:00
echo $UPS_LOG