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