diff --git a/Mac/Mosyle Attributes/check-tailscale-auth-present.sh b/Mac/Mosyle Attributes/check-tailscale-auth-present.sh index 394f138..fdc27ba 100644 --- a/Mac/Mosyle Attributes/check-tailscale-auth-present.sh +++ b/Mac/Mosyle Attributes/check-tailscale-auth-present.sh @@ -28,8 +28,18 @@ ## For Event Tick: Every start up of the Mac, Every user sign-in, Every "Device Info" update ##################################################################################################### # Check if the profile with the specific Payload Identifier exists -if profiles list | grep -q "com.purplecomputing.mdm.tailscale.authkey"; then - echo "Auth Profile Present" -else - echo "Auth Profile Not Found" -fi +# FUNCTIONS +DA=$(date +%s) +curl -fsSL -o /tmp/tailscale-$DA.sh https://prpl.uk/tailscalesh +source /tmp/tailscale-$DA.sh +tsbundle=io.tailscale.ipn.macos # VPP +#tsbundle=io.tailscale.ipn.macsys # STNDALONE + +create_tstools_sym +#check_config_profile +check_auth_profile + +#################################################################################################### +# TIDY +rm /tmp/tailscale-$DA.sh +echo "" diff --git a/Mac/Mosyle Attributes/check-tailscale-settings-present.sh b/Mac/Mosyle Attributes/check-tailscale-settings-present.sh index 0d28851..a41af64 100644 --- a/Mac/Mosyle Attributes/check-tailscale-settings-present.sh +++ b/Mac/Mosyle Attributes/check-tailscale-settings-present.sh @@ -28,8 +28,18 @@ ## For Event Tick: Every start up of the Mac, Every user sign-in, Every "Device Info" update ##################################################################################################### # Check if the profile with the specific Payload Identifier exists -if profiles list | grep -q "com.purplecomputing.mdm.tailscale"; then - echo "Config Profile Present" -else - echo "Config Profile Not Found" -fi +# FUNCTIONS +DA=$(date +%s) +curl -fsSL -o /tmp/tailscale-$DA.sh https://prpl.uk/tailscalesh +source /tmp/tailscale-$DA.sh +tsbundle=io.tailscale.ipn.macos # VPP +#tsbundle=io.tailscale.ipn.macsys # STNDALONE + +create_tstools_sym +check_config_profile +#check_auth_profile + +#################################################################################################### +# TIDY +rm /tmp/tailscale-$DA.sh +echo ""