mirror of
https://github.com/PurpleComputing/Tailscale-scripts.git
synced 2026-06-11 09:30:29 +01:00
Update silent-oauth.sh
This commit is contained in:
@@ -94,8 +94,8 @@ sleep 3
|
||||
runAsUser osascript -e 'tell application "Tailscale"' -e 'activate' -e 'end tell'
|
||||
|
||||
# GIVES TAILSCALE TIME TO OPEN AND CONNECT IF EMPLOYEE AUTHED
|
||||
sleep 6
|
||||
|
||||
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