Update mm-scripts.sh
This commit is contained in:
@@ -43,6 +43,9 @@ MMSTART(){
|
|||||||
SENDNOTICE "Starting Media Management Systems" ""
|
SENDNOTICE "Starting Media Management Systems" ""
|
||||||
echo "$(date) - Starting Media Management system - (fresh start)" >> $logfile
|
echo "$(date) - Starting Media Management system - (fresh start)" >> $logfile
|
||||||
echo -e "${idsCL[LightCyan]}Fresh startup${idsCL[Default]}"
|
echo -e "${idsCL[LightCyan]}Fresh startup${idsCL[Default]}"
|
||||||
|
if [ -f ${MMFOLDER}/mm.stop.checking ]; then
|
||||||
|
rm -f ${MMFOLDER}/mm.stop*
|
||||||
|
fi
|
||||||
|
|
||||||
elif [ "${1}" = "check" ] && [ "$(ip link | grep "${VPN_INTERFACE}")" = "" ] && [ -f ${MMFOLDER}/mm.vpn* ]; then
|
elif [ "${1}" = "check" ] && [ "$(ip link | grep "${VPN_INTERFACE}")" = "" ] && [ -f ${MMFOLDER}/mm.vpn* ]; then
|
||||||
GOFORSTART=true;
|
GOFORSTART=true;
|
||||||
|
|||||||
Reference in New Issue
Block a user