diff --git a/offsite-power-check.sh b/offsite-power-check.sh index c77f0e46..35703056 100755 --- a/offsite-power-check.sh +++ b/offsite-power-check.sh @@ -50,7 +50,7 @@ AC VOLTAGE: ${OFFSITE_VOLTIN}'volts $(date)" if [ "${3}" = "1" ]; then PRIORITY="${3}"; MSGSOUND=siren; elif [ "${3}" != "" ]; then PRIORITY=${3}; else PRIORITY=0; fi - curl -m 3 -sd "token=${PW_PUSHOVER_APP_TOKEN}&user=${PW_PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${1}&priority=${PRIORITY}&sound=cosmic" https://api.pushover.net/1/messages.json >/dev/null 2>&1 + curl -m 3 -sd "token=${PW_PUSHOVER_APP_TOKEN}&user=${PW_PUSHOVER_USER_TOKEN}&message=${MESSAGE}&title=${1}&priority=${PRIORITY}&sound=cosmic" https://api.pushover.net/1/messages.json ####>/dev/null 2>&1 } if [ "${startup}" == "true" ]; then echo "STARTING"