Update mm-scripts.sh
This commit is contained in:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user