Hey guys,
just wondering if anyone else seen an issue here before creating a support ticket. We use a script with jamfhelper to create a message box when a user logs out. For example, $3 could be "Adobe Reader" and $4 "will be updated" Here's a snippet:
APPTITLE=$4
MESSAGE=$5
/Library/Application Support/JAMF/bin/jamfHelper.app/Contents/MacOS/jamfHelper
-windowType hud
-iconSize 96
-heading "Please do not turn off your Mac! "
-icon /System/Library/CoreServices/Software Update.app/Contents/Resources/SoftwareUpdate.icns
-startlaunchd
-lockHUD
-description "${APPTITLE} ${MESSAGE}. The installation may take several minutes to complete.
Do not turn off your Mac until this message disappears." &
# Get the PID of the message box and write it in the informations.plist
defaults write /Library/Management/informations.plist LastUpdatePID -int $!
exit 0
The "&" after the jamfHelper message puts the process in the background so that the script would finish and the package install begins.
The script is set to "Before". After installing a package I'm executing the following command:
kill $(sudo defaults read /Library/Management/informations.plist LastUpdatePID)
and the message box will disappear.
This worked like a charm prior to 9.62 (I haven't tested this in 9.61 and 9.6). Has anyone a similar script in his environment and seeing an issue here with 9.62 too?
Manually executing the script works as expected, only see this issue when executing via the JSS.
Thanks,
Michael
Edit: perhaps these two issues are a little bit similar...
https://jamfnation.jamfsoftware.com/discussion.html?id=12766
