From 00d853245f377fbd7845847d9a240672e5035480 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 21 Apr 2023 22:11:06 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index e58d193..c84fb83 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -918,12 +918,17 @@ MMSETUP(){ else echo "# PUSHOVER_USER_TOKEN=\"\"" >> ${MMFOLDER}/settings.conf fi + + source /opt/idssys/mediamanager/settings.conf + IFS=, + SERVICES_CHECK=(${SERVICESCHECK}) + unset IFS echo read -n 1 -p "Do you wish to start services now (y/N)?" choice echo 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;; esac echo -e "${idsCL[LightCyan]}The following are Media Manager (mm) usage commands:${idsCL[Default]}"