umad
umad copied to clipboard
Run script after UI quits
This change allows an admin to set an Optional option of --scriptwhenuiquits
to run a script after the UMAD UI disappears signaling the machine is now UAMDMed.
I tested this in UMAD with a manual enrollment workflow and a non-UAMDMed machine that had the enrollment profile installed but not approved yet. Both fired off the script on exit.
this will more than likely need to be rewritten for python3. Please look at that branch.