From 2b99b70468c0abe4c9f992ba6c1e2ababe9e6862 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Fri, 25 Aug 2023 12:58:08 +0100 Subject: [PATCH] Update force-auth-fl-exitnode.sh --- Mac/force-auth-fl-exitnode.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Mac/force-auth-fl-exitnode.sh b/Mac/force-auth-fl-exitnode.sh index 93e8576..4d030de 100644 --- a/Mac/force-auth-fl-exitnode.sh +++ b/Mac/force-auth-fl-exitnode.sh @@ -134,13 +134,9 @@ if [ "$PING3" -eq "1" ]; then echo exit 0 else - echo - echo NO AUTH AUTHENTICATING... - runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale logout - sleep 2 runAsUser osascript -e 'tell application "Tailscale"' -e 'activate' -e 'end tell' sleep 3 - runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --exit-node=secure-vpr --exit-node-allow-lan-access --reset + runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale up --authkey "$TAILSCALEAUTHKEY" --hostname "$TSUSER" --exit-node="secure-vpr" --exit-node-allow-lan-access --reset echo fi