added TS IP Check with Echo

This commit is contained in:
Purple
2025-02-11 11:06:17 +00:00
parent a13083a18f
commit 5232040c62

View File

@@ -184,7 +184,8 @@ check_connectivity() {
local PING2=0
if [ -n "$IP2" ]; then
PING2=$(ping -c 1 "$IP2" | grep -c "from")
local PING2=$(ping -c 1 "$IP2" | grep -c "from")
echo "Tailscale IP Provided: $IP2"
fi
if [ "$PING1" -eq 1 ]; then