Update mm-scripts.sh
This commit is contained in:
@@ -32,9 +32,14 @@ MMSTART(){
|
||||
if [ "${1}" = "start" ] || [ "${1}" = "" ]; then
|
||||
mmsv='Starting'
|
||||
echo
|
||||
echo -en "${idsCL[LightCyan]}Starting the VPN Tunnel ... ${idsCL[Default]}"
|
||||
"${VPN_START[@]}"
|
||||
sleep 5s
|
||||
OUT=$(ip link | grep "$VPN_INTERFACE")
|
||||
if [ ${#OUT} = 0 ]; then
|
||||
echo -en "${idsCL[LightCyan]}Starting the VPN Tunnel ... ${idsCL[Default]}"
|
||||
"${VPN_START[@]}"
|
||||
sleep 5s
|
||||
else
|
||||
echo -e "${idsCL[Green]}The VPN Tunnel is already running ... ${idsCL[Default]}"
|
||||
fi
|
||||
else
|
||||
mmsv='Verifying'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user