Update mm-scripts.sh
This commit is contained in:
@@ -101,7 +101,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
|
|||||||
echo -en "${idsCL[Green]}The VPN Tunnel is already running :${idsCL[Default]}"
|
echo -en "${idsCL[Green]}The VPN Tunnel is already running :${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
mmsv='Verifying'
|
echo -en "${idsCL[LightCyan]}Verifying the VPN Tunnel :${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ $VERBOSE = true ] && echo "$(date) - ${mmsv} VPN..." >> $logfile
|
[ $VERBOSE = true ] && echo "$(date) - ${mmsv} VPN..." >> $logfile
|
||||||
@@ -143,7 +143,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
if [ ${GOFORSTART} = true ]; then
|
if [ ${GOFORSTART} = true ] || [ "${1}" == "check" ]; then
|
||||||
echo -e "${idsCL[Green]} done${idsCL[Default]}"
|
echo -e "${idsCL[Green]} done${idsCL[Default]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user