hellow community, i need your help today with a DEALY issue after applying the following script in Jamf Pro.
after adding the script into Jamf there is a delay with the logon for the end user.
username="$3"
serialnumber="$(ioreg -c IOPlatformExpertDevice -d 2 | awk -F\\" '/IOPlatformSerialNumber/{print $(NF-1)}')"
ip="$(ifconfig | grep 'inet 10' | grep -m1 -o '\\d\\{1,3\\}\\.\\d\\{1,3\\}\\.\\d\\{1,3\\}\\.\\d\\{1,3\\}' | grep -m1 '10')"
#echo ${username} >> /usr/local/bin/Logs/logs.txt
#echo ${serialnumber} >> /usr/local/bin/Logs/logs.txt
#echo ${ip} >> /usr/local/bin/Logs/logs.txt