From fb7d755f6cf9cf676618ae584345e80ae824b134 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 30 Mar 2022 19:18:30 -0500 Subject: [PATCH] Update mm-scripts.sh --- mm-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm-scripts.sh b/mm-scripts.sh index 97e8171..f52bb28 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -23,7 +23,7 @@ unset IFS #OUT=`ip a show $VPN_INTERFACE up >/dev/null 2>&1`; MMSTART(){ - if [ "${action}" = "start" ]; then + if [ "${1}" = "start" ]; then mmsv='Starting' echo -e "${idsCL[Green]}Starting the VPN Tunnel ... ${idsCL[Default]}" "${VPN_START[@]}" @@ -74,7 +74,7 @@ MMSTART(){ echo "" done echo -e "${idsCL[Green]} done${idsCL[Default]}" - if [ "${action}" == "start" ]; then + if [ "${1}" == "start" ]; then echo -e "${idsCL[LightCyan]}It may take a couple of minutes before all systems fully start up${idsCL[Default]}" echo fi