From b2803c203eab3cfea276063a32d919f88b9b51a8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 14 Jul 2024 17:38:51 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 411addc..03b0920 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -212,9 +212,9 @@ MMSTART(){ # if [ "${zerogw}" != "${defaultgw}" ]; then # if [ "${defaultgw}" != "${VPN_INTERFACE}" ]; then if [ "${zerogw}" != "${defaultgw}" ] || [ "${defaultgw}" != "${VPN_INTERFACE}" ]; then - echo "$(date) - Adding VPN default routes" >> ${MM_LOGFILE} + echo "$(date) - Adding VPN IP Routes" >> ${MM_LOGFILE} - msg="Adding VPN default routes" + msg="Adding VPN IP Routes" c=0; spc=''; spc1=$((${cw_spc}-${#msg})) until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}" @@ -581,7 +581,7 @@ MMSTOP(){ /bin/ip route del ${route} via ${DEFAULT_GW} dev eth0 done fi - [ $VERBOSE = true ] && echo "$(date) - Added default routes back in" >> ${MM_LOGFILE} + [ $VERBOSE = true ] && echo "$(date) - Added Default IP Routes back in" >> ${MM_LOGFILE} echo -e "${idsCL[Green]}Done${idsCL[Default]}"