Update mm-scripts.sh

This commit is contained in:
2023-02-23 21:48:43 -06:00
parent 8ab3b74a6e
commit 6e1a22b4c8

View File

@@ -32,7 +32,7 @@ unset IFS
MMSTART(){
[ $VERBOSE = true ] && chktmstart=`date +%s`
if [ "${1}" = "start" ] || [ "${1}" = "" ]; then
if [ "${1}" = "start" ] || [ "${1}" = "restart" ] || [ "${1}" = "" ]; then
GOFORSTART=true;
elif [ "${1}" = "check" ] && [ "$(ip link | grep "wg-torguard")" = "" ] && [ ! -f /opt/idssys/mediamanager/mm.vpn* ]; then
@@ -479,7 +479,7 @@ if [ ! -f /opt/idssys/mediamanager/mm.update.stop ]; then
echo -en "${idsCL[LightCyan]}Pausing for 10secs... ${idsCL[Default]}"
sleep 10s
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
MMSTART;;
MMSTART ${action};;
status)
if [ -f /opt/idssys/mediamanager/mm.stop ]; then