mirror of
https://github.com/PurpleComputing/Tailscale-scripts.git
synced 2026-02-03 05:53:23 +00:00
Update silent-oauth.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user