updated mosyle checks

This commit is contained in:
Purple
2025-02-12 16:57:45 +00:00
parent fb7797eade
commit 30df8b4b51
2 changed files with 30 additions and 10 deletions

View File

@@ -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 ""

View File

@@ -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 ""