Update mm-scripts.sh
This commit is contained in:
@@ -1018,7 +1018,15 @@ MMSETUP(){
|
||||
exitstatus=$?; srvcs="$(join_by , $srvcs)";
|
||||
fi
|
||||
|
||||
[ "${srvcs}" != "" ] && srvcs=${srvcs/tautulli/snap.tautulli.tautulli} && echo -e "\nSERVICESCHECK=${srvcs}\n\n#[OPTIONAL]" >> ${MMFOLDER}/settings.conf || echo -e "\n# SERVICESCHECK=\n\n#[OPTIONAL]" >> ${MMFOLDER}/settings.conf
|
||||
|
||||
if [ "${srvcs}" != "" ]; then
|
||||
echo -e "${idsCL[LightCyan]}Selected services: ${idsCL[Green]}${srvcs}${idsCL[Default]}"
|
||||
srvcs=${srvcs/tautulli/snap.tautulli.tautulli}
|
||||
echo -e "\nSERVICESCHECK=${srvcs}\n\n#[OPTIONAL]" >> ${MMFOLDER}/settings.conf
|
||||
echo
|
||||
else
|
||||
echo -e "\n# SERVICESCHECK=\n\n#[OPTIONAL]" >> ${MMFOLDER}/settings.conf
|
||||
fi
|
||||
|
||||
echo
|
||||
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