Update offsite-power-check.sh

This commit is contained in:
2023-11-05 14:52:26 -06:00
parent 89ab65b107
commit b7cb5e3d09

View File

@@ -26,7 +26,7 @@ SENDNOTICE2(){
PRIORITY=0
fi
echo "Sending message"
echo "https://api.pushover.net/1/messages.json?token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}"
curl "https://api.pushover.net/1/messages.json?token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}"
}
upsinfo=$(upsc CP1500PFCLCD)