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