Update mm-scripts.sh

This commit is contained in:
2023-04-21 21:07:18 -05:00
parent 4e97680aa2
commit 479c40210b

View File

@@ -875,7 +875,8 @@ MMSETUP(){
if [ "${EMAIL_NOTICE}" != "" ]; then
read -n 1 -p "Use previous email address [${EMAIL_NOTICE}] (Y/n)?" choice
case "$choice" in; [Nn]) EMAIL_NOTICE="";;esac
case "$choice" in
[Nn]) EMAIL_NOTICE="";;esac
fi
if [ "${EMAIL_NOTICE}" == "" ]; then
echo; echo -e -n "${idsCL[LightCyan]}(optional) SMTP notification address: ${idsCL[Default]}"
@@ -886,7 +887,8 @@ MMSETUP(){
if [ "${PUSHOVER_APP_TOKEN}" != "" ]; then
read -n 1 -p "Use previous Pushover App Token [${PUSHOVER_APP_TOKEN}] (Y/n)?" choice
case "$choice" in; [Nn]) PUSHOVER_APP_TOKEN="";;esac
case "$choice" in
[Nn]) PUSHOVER_APP_TOKEN="";;esac
fi
if [ "${PUSHOVER_APP_TOKEN}" == "" ]; then
echo; echo -e -n "${idsCL[LightCyan]}(optional) Pushover App Token: ${idsCL[Default]}"
@@ -898,7 +900,8 @@ MMSETUP(){
if [ "${PUSHOVER_APP_TOKEN}" != "" ]; then
if [ "${PUSHOVER_USER_TOKEN}" != "" ]; then
read -n 1 -p "Use previous Pushover User Token [${PUSHOVER_USER_TOKEN}] (Y/n)?" choice
case "$choice" in; [Nn]) PUSHOVER_USER_TOKEN="";;esac
case "$choice" in
[Nn]) PUSHOVER_USER_TOKEN="";;esac
fi
if [ "${PUSHOVER_USER_TOKEN}" == "" ]; then
echo; echo -e -n "${idsCL[LightCyan]}(optional) Pushover User Token: ${idsCL[Default]}"