Update mm-scripts.sh

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

View File

@@ -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]}"