Update mm-scripts.sh
This commit is contained in:
@@ -874,7 +874,6 @@ MMSETUP(){
|
||||
|
||||
echo
|
||||
echo -e "${idsCL[LightCyan]}You may choose to setup notifications by either SMTP and/or Pushover:${idsCL[Default]}"
|
||||
echo
|
||||
|
||||
if [ "${EMAIL_NOTICE}" != "" ]; then
|
||||
read -n 1 -p "Use previous email address [${EMAIL_NOTICE}] (Y/n)?" choice
|
||||
@@ -882,7 +881,7 @@ MMSETUP(){
|
||||
[Nn]) EMAIL_NOTICE="";;esac
|
||||
fi
|
||||
if [ "${EMAIL_NOTICE}" == "" ]; then
|
||||
echo; echo -e -n "${idsCL[LightCyan]}(optional) SMTP notification address: ${idsCL[Default]}"
|
||||
echo; echo -e -n "${idsCL[LightCyan]}(optional) Email notification address: ${idsCL[Default]}"
|
||||
read -e EMAIL_NOTICE
|
||||
fi
|
||||
[ "${EMAIL_NOTICE}" != "" ] && echo "EMAIL_NOTICE=${EMAIL_NOTICE}" >> ${MMFOLDER}/settings.conf || echo "# EMAIL_NOTICE=email@address.com" >> ${MMFOLDER}/settings.conf
|
||||
|
||||
Reference in New Issue
Block a user