Update offsite-power-check.sh
This commit is contained in:
@@ -29,7 +29,7 @@ SENDNOTICE2(){
|
|||||||
PRIORITY=0
|
PRIORITY=0
|
||||||
fi
|
fi
|
||||||
echo "Sending message"
|
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)
|
upsinfo=$(upsc CP1500PFCLCD)
|
||||||
|
|||||||
Reference in New Issue
Block a user