Update mm-scripts.sh
This commit is contained in:
@@ -851,7 +851,7 @@ MMSETUP(){
|
|||||||
sed -i '/PUSHOVER_/d' ${MMFOLDER}/settings.conf
|
sed -i '/PUSHOVER_/d' ${MMFOLDER}/settings.conf
|
||||||
sed -i '/EMAIL_NOTICE/d' ${MMFOLDER}/settings.conf
|
sed -i '/EMAIL_NOTICE/d' ${MMFOLDER}/settings.conf
|
||||||
sed -i '/OPTIONAL/d' ${MMFOLDER}/settings.conf
|
sed -i '/OPTIONAL/d' ${MMFOLDER}/settings.conf
|
||||||
sed -i '/##/d' ${MMFOLDER}/settings.conf
|
sed -i '/^$/d' ${MMFOLDER}/settings.conf
|
||||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||||
|
|
||||||
export NEWT_COLORS=''
|
export NEWT_COLORS=''
|
||||||
@@ -867,7 +867,7 @@ MMSETUP(){
|
|||||||
"sonarr" "Sonarr (TV Show Manager)" ON \
|
"sonarr" "Sonarr (TV Show Manager)" ON \
|
||||||
"tautulli" "Tautulli (Plex Stats)" ON 3>&1 1>&2 2>&3)
|
"tautulli" "Tautulli (Plex Stats)" ON 3>&1 1>&2 2>&3)
|
||||||
exitstatus=$?; srvcs="$(join_by , $srvcs)"; srvcs=${srvcs/tautulli/snap.tautulli.tautulli}
|
exitstatus=$?; srvcs="$(join_by , $srvcs)"; srvcs=${srvcs/tautulli/snap.tautulli.tautulli}
|
||||||
echo -e "##\nSERVICESCHECK=${srvcs}\n##\n#[OPTIONAL]" >> ${MMFOLDER}/settings.conf
|
echo -e "\nSERVICESCHECK=${srvcs}\n\n#[OPTIONAL]" >> ${MMFOLDER}/settings.conf
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo -e "${idsCL[LightCyan]}You may choose to setup notifications by either SMTP and/or Pushover:${idsCL[Default]}"
|
echo -e "${idsCL[LightCyan]}You may choose to setup notifications by either SMTP and/or Pushover:${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user