hassio-addons/upsmon/shutdown.sh
2018-11-22 13:10:16 +01:00

4 lines
85 B
Bash

#!/bin/sh
curl -H "X-HASSIO-KEY: $HASSIO_TOKEN" -X POST http://hassio/host/shutdown