Update offsite-power-check.sh

This commit is contained in:
2023-11-05 14:54:09 -06:00
parent 1102e4c0a8
commit 1fde7971da

View File

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