Files
Andreas Vogel 306149a726 test
2026-02-16 15:28:29 +01:00

17 lines
481 B
Bash

#!/bin/bash
############################################################################
# Shellscript : Prüfen ob das Zertifikat noch das alte Zertifikat noch da ist.
# Autor : Andreas Vogel, macenterprise gmbh
# Copyright : macenterprise 2019
############################################################################
if security find-certificate -c "Mac-Computer-JAMF-V2"
then
certificate=1
else
certificate=0
fi
echo "<result>$certificate</result>"