From 9a34cb0323a10a460862eb59c781e8ea598213e7 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Wed, 27 Dec 2023 17:59:49 +0000 Subject: [PATCH] Update join-ts-network.sh --- Helpers/join-ts-network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Helpers/join-ts-network.sh b/Helpers/join-ts-network.sh index e096bf5..ad8db98 100644 --- a/Helpers/join-ts-network.sh +++ b/Helpers/join-ts-network.sh @@ -65,7 +65,7 @@ EOF #runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale logout sleep 2 runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale login --authkey $TAILSCALEAUTHKEY --hostname "purplesupportsession-ticket-$ZDTICKETRAW-engineer-$TSENGINEER" - +runAsUser /Applications/Tailscale.app/Contents/MacOS/Tailscale set --hostname "purplesupportsession-ticket-$ZDTICKETRAW-engineer-$TSENGINEER" /usr/local/bin/dialog dialog --title "Tailscale Session Started" --message "**Session Control**\n\n Your session will end automatically based on the countdown below. \n\n **Leave this window open in the background whilst you are working...**" --alignment centre --centericon --big --icon warning --overlayicon "/Applications/Tailscale.app" --button1text "End Session Now" --timer $SESSIONEXPIRY --button1shellaction "launchctl asuser $(id -u "$currentUser") /Applications/Tailscale.app/Contents/MacOS/Tailscale logout" sleep 3