Files
openhab/apcups/USV_dump_log
2017-11-15 09:48:16 +01:00

4 lines
82 B
Bash

#!/bin/bash
export UPS_LOG="$(/sbin/apcaccess status 127.0.0.1:$1)"
echo $UPS_LOG