diff --git a/mm-scripts.sh b/mm-scripts.sh index bde9757..c8303b4 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -134,7 +134,8 @@ MMSTART(){ fi [ $VERBOSE = true ] && echo "$(date) - ${mmsv} VPN..." >> $logfile - + + echo "HERE: $(/bin/ip link)" OUT=$(/bin/ip link | grep "$VPN_INTERFACE") if [ ${#OUT} = 0 ]; then @@ -152,6 +153,7 @@ MMSTART(){ [ $VERBOSE = true ] && DEBUGLOGSTOP exit 1 elif [ -f ${TMPFOLDER}/mm.vpn.fail2 ]; then + echo -e "${idsCL[Red]} failed, shutting down system${idsCL[Default]}" echo "$(date) - VPN Failure #3 - Shutting down Media Management systems" >> $logfile SENDNOTICE "VPN Failure" "Final Failure, shutting down system" 2 MMSTOP