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