Update mm-scripts.sh

This commit is contained in:
2023-04-21 22:13:28 -05:00
parent 00d853245f
commit 711cacbb0a

View File

@@ -918,17 +918,12 @@ 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]) MMSTART start ;;
[Yy]) source /opt/idssys/mediamanager/settings.conf;IFS=,;SERVICES_CHECK=(${SERVICESCHECK});unset IFS;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]}"