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

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