bp88 / JSS-Scripts

Random scripts for use in the Jamf Pro
188 stars 61 forks source link

Remove reboot option #30

Closed antrev closed 3 years ago

antrev commented 3 years ago

Is there a way to edit the script for it to only have the postpone option without the reboot?

bp88 commented 3 years ago

Are you talking about the OSUpdateNotifer.sh script? If so, on Intel Macs, the script will do a reboot once the EndDate has been reached and all postponements have been met. If this is on Apple Silicon Macs, the script will do a shutdown once the EndDate has been reached and all postponements have been met.

If you just want to let people keep postponing, I suggest not setting an EndDate and only leaving a Nag Date (or a Start Date to let users pick when to get reminded).

Beyond that, you can modify the script to behave differently.