Update mm-scripts.sh

This commit is contained in:
2023-04-21 22:11:06 -05:00
parent 903f1c0c67
commit 00d853245f

View File

@@ -919,11 +919,16 @@ MMSETUP(){
echo "# PUSHOVER_USER_TOKEN=\"\"" >> ${MMFOLDER}/settings.conf echo "# PUSHOVER_USER_TOKEN=\"\"" >> ${MMFOLDER}/settings.conf
fi fi
source /opt/idssys/mediamanager/settings.conf
IFS=,
SERVICES_CHECK=(${SERVICESCHECK})
unset IFS
echo echo
read -n 1 -p "Do you wish to start services now (y/N)?" choice read -n 1 -p "Do you wish to start services now (y/N)?" choice
echo echo
case "$choice" in case "$choice" in
[Yy]) mm start ;; [Yy]) MMSTART start ;;
* ) echo -e "${idsCL[Cyan]}Not starting. To start, run the command '${idsCL[Green]}mm start${idsCL[LightCyan]}'${idsCL[Default]}";echo;echo;; * ) echo -e "${idsCL[Cyan]}Not starting. To start, run the command '${idsCL[Green]}mm start${idsCL[LightCyan]}'${idsCL[Default]}";echo;echo;;
esac esac
echo -e "${idsCL[LightCyan]}The following are Media Manager (mm) usage commands:${idsCL[Default]}" echo -e "${idsCL[LightCyan]}The following are Media Manager (mm) usage commands:${idsCL[Default]}"