Files, scripts, howtos and more for openHAB.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
82 B

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