From a9654438ff1d9b06261cca2b3fa0d6cfcacebd10 Mon Sep 17 00:00:00 2001 From: Daniel Kearns Date: Mon, 17 Jun 2019 10:32:01 +0100 Subject: [PATCH] added PUSHOVER_DEVICE and PUSHOVER_PRIORITY --- notify/pushover.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notify/pushover.sh b/notify/pushover.sh index 99b930d5..cc8ee274 100644 --- a/notify/pushover.sh +++ b/notify/pushover.sh @@ -26,12 +26,14 @@ pushover_send() { fi _saveaccountconf_mutable PUSHOVER_USER "$PUSHOVER_USER" +# Specific device or devices by hostnames, joining multiples with a comma (such as device=iphone,nexus5) PUSHOVER_DEVICE="${PUSHOVER_DEVICE:-$(_readaccountconf_mutable PUSHOVER_DEVICE)}" if [ -z "$PUSHOVER_DEVICE" ]; then PUSHOVER_DEVICE="" fi _saveaccountconf_mutable PUSHOVER_DEVICE "$PUSHOVER_DEVICE" +# Lowest Priority (-2), Low Priority (-1), Normal Priority (0), High Priority (1) PUSHOVER_PRIORITY="${PUSHOVER_PRIORITY:-$(_readaccountconf_mutable PUSHOVER_PRIORITY)}" if [ -z "$PUSHOVER_PRIORITY" ]; then PUSHOVER_PRIORITY="0"