DEPNotify Installer Script
These are my scripts for running with Joel Rennich's DEPNotify application.
com.euromoneyplc.DEPprovisioning.sh
The main script is broken down into a few sections:
- Paths & Logging
- DEPNotify Command functions
- DEPNotify Registration & Inital main page settings
- Operations:
Check Finder/Dock are running & the user is not _mbsetupuser
Kill any installers
Caffeinate the machine
Run DEPNotify.app
Issue the ContinueButtonRegister command
Run a while
loop until the .plist is written
Rename the machine based on the input
Start running policies
The policies are structured as follows:
- depTitle Changes the title on the splash
- depText Changes the text
- jamfPol Runs the JAMF policy
- policyFin Checks policy receipt exists in JAMF folder
- depStep Adds step to progress bar & reactivates window to bring it to the front
- Clean-Up: de-caffeinate the machine, send the quit messages then archive some logs and delete the rest