mirror of
https://github.com/PurpleComputing/Tailscale-scripts.git
synced 2026-02-03 14:03:22 +00:00
added TS IP Check with Echo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user