Update silent-oauth.sh

This commit is contained in:
Michael
2025-07-30 15:25:53 +01:00
committed by GitHub
parent 2b0ea5af36
commit ee933458bd

View File

@@ -95,7 +95,6 @@ runAsUser osascript -e 'tell application "Tailscale"' -e 'activate' -e 'end tell
# GIVES TAILSCALE TIME TO OPEN AND CONNECT IF EMPLOYEE AUTHED
sleep 2
runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --advertise-tags=tag:$TSTAG --reset
# PING GOOGLE FOR NEXT CHECK
PING1=$(ping -c 1 "$IP1" | grep -c from)
sleep 2