Update mm-scripts.sh

This commit is contained in:
2023-04-21 20:09:00 -05:00
parent 3783a73965
commit 276c4282d5

View File

@@ -861,7 +861,7 @@ MMSETUP(){
echo -e "${idsCL[LightCyan]}You may choose to setup notifications by either SMTP and/or Pushover:${idsCL[Default]}"
echo
echo -e -n "${idsCL[LightCyan]}(optional) SMTP notification address: ${idsCL[Default]}"
read -e smtpaddress
read -e SMTPADDRESS
echo ""
echo -e -n "${idsCL[LightCyan]}(optional) Pushover App Token: ${idsCL[Default]}"
read -e PUSHOVER_APP_TOKEN
@@ -869,7 +869,7 @@ MMSETUP(){
read -e PUSHOVER_USER_TOKEN
echo
echo -e "PUSHOVER_APP_TOKEN=\"${PUSHOVER_APP_TOKEN}\"\nPUSHOVER_USER_TOKEN=\"${PUSHOVER_USER_TOKEN}\" >> ${MMFOLDER}/settings.conf
echo -e "EMAIL_NOTICE=${SMTPADDRESS}\nPUSHOVER_APP_TOKEN=\"${PUSHOVER_APP_TOKEN}\"\nPUSHOVER_USER_TOKEN=\"${PUSHOVER_USER_TOKEN}\"" >> ${MMFOLDER}/settings.conf
"
cat ${MMFOLDER}/settings.conf