|
|
@ -26,14 +26,14 @@ pushover_send() { |
|
|
fi |
|
|
fi |
|
|
_saveaccountconf_mutable PUSHOVER_USER "$PUSHOVER_USER" |
|
|
_saveaccountconf_mutable PUSHOVER_USER "$PUSHOVER_USER" |
|
|
|
|
|
|
|
|
# Specific device or devices by hostnames, joining multiples with a comma (such as device=iphone,nexus5) |
|
|
|
|
|
|
|
|
# Specific device or devices by hostnames, joining multiples with a comma (such as device=iphone,nexus5) |
|
|
PUSHOVER_DEVICE="${PUSHOVER_DEVICE:-$(_readaccountconf_mutable PUSHOVER_DEVICE)}" |
|
|
PUSHOVER_DEVICE="${PUSHOVER_DEVICE:-$(_readaccountconf_mutable PUSHOVER_DEVICE)}" |
|
|
if [ -z "$PUSHOVER_DEVICE" ]; then |
|
|
if [ -z "$PUSHOVER_DEVICE" ]; then |
|
|
PUSHOVER_DEVICE="" |
|
|
PUSHOVER_DEVICE="" |
|
|
fi |
|
|
fi |
|
|
_saveaccountconf_mutable PUSHOVER_DEVICE "$PUSHOVER_DEVICE" |
|
|
_saveaccountconf_mutable PUSHOVER_DEVICE "$PUSHOVER_DEVICE" |
|
|
|
|
|
|
|
|
# Lowest Priority (-2), Low Priority (-1), Normal Priority (0), High Priority (1) |
|
|
|
|
|
|
|
|
# Lowest Priority (-2), Low Priority (-1), Normal Priority (0), High Priority (1) |
|
|
PUSHOVER_PRIORITY="${PUSHOVER_PRIORITY:-$(_readaccountconf_mutable PUSHOVER_PRIORITY)}" |
|
|
PUSHOVER_PRIORITY="${PUSHOVER_PRIORITY:-$(_readaccountconf_mutable PUSHOVER_PRIORITY)}" |
|
|
if [ -z "$PUSHOVER_PRIORITY" ]; then |
|
|
if [ -z "$PUSHOVER_PRIORITY" ]; then |
|
|
PUSHOVER_PRIORITY="0" |
|
|
PUSHOVER_PRIORITY="0" |
|
|
|