Update force-auth.sh

This commit is contained in:
Michael
2023-11-24 13:26:54 +00:00
committed by GitHub
parent 3ea51a525f
commit 3abaea71a0

View File

@@ -62,10 +62,11 @@ else
echo
exit 1
fi
defaults write io.tailscale.ipn.macos ManagedByOrganizationName "Purple Computing"
# OPENS TAILSCALE BEFORE CHECKS
runAsUser osascript -e 'tell application "Tailscale"' -e 'activate' -e 'end tell'
# GIVES TAILSCALE TIME TO OPEN AND CONNECT IF EMPLOYEE AUTHED
sleep 20