Update mm-scripts.sh
This commit is contained in:
@@ -38,7 +38,7 @@ MMSTART(){
|
|||||||
if [ "${1}" = "start" ] || [ "${1}" = "restart" ] || [ "${1}" = "" ]; then
|
if [ "${1}" = "start" ] || [ "${1}" = "restart" ] || [ "${1}" = "" ]; then
|
||||||
GOFORSTART=true;
|
GOFORSTART=true;
|
||||||
|
|
||||||
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* ] && [ ! -f ${MMFOLDER}/vpninfo* ]; then
|
||||||
GOFORSTART=true;
|
GOFORSTART=true;
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user