diff --git a/offsite-power-check.sh b/offsite-power-check.sh index f3f0e0cb..9df8eb07 100755 --- a/offsite-power-check.sh +++ b/offsite-power-check.sh @@ -44,7 +44,7 @@ $(date)" MSGSOUND=Cosmic if [ "${3}" = "1" ]; then PRIORITY="${3}"; MSGSOUND=siren elif [ "${3}" != "" ]; then PRIORITY=${3}; else PRIORITY=0; fi - curl -d "token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=$(echo "${MESSAGE}" | sed 's/ZZ/HH/g')&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}" https://api.pushover.net/1/messages.json >/dev/null 2>&1 + curl -d "token=${PUSHOVER_APP_TOKEN}&user=${PUSHOVER_USER_TOKEN}&message=$(echo "${MESSAGE}" | sed 's/PRC/%25/g')&title=${TITLE}&priority=${PRIORITY}&sound=${MSGSOUND}" https://api.pushover.net/1/messages.json >/dev/null 2>&1 } if [ "${startup}" == "true" ]; then SENDNOTICE "OFFSITE POWER MONITOR" "Service starting"