Update mm-scripts.sh
This commit is contained in:
@@ -918,17 +918,12 @@ MMSETUP(){
|
|||||||
else
|
else
|
||||||
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]) 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;;
|
* ) 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]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user