These are the scripts that power DEPNotify at Swinburne Uni
The main work is done by the
DepNotify With User Input Script
It is mainly stolen from; https://github.com/neilmartin83 with a few extra tweaks from https://github.com/jmahlman
This script is set to enrolment. It installs DepNotify, a depnotify local account set to autologin with
https://github.com/gregneagle/pycreateuserpkg
And then reboots, and logs in, to kick off DepNotify. (Will repalce this as soon as Nolotify works over login)
Because the first script sets a Computer Role (either Staff, Labs, Shared or Loaner) it moves into a smartgroup, and then runs either the Staff Script
Or the Labs Script
If staff, it runs just that one script, that then moves it to Enrolment complete Smart Group, once Sophos is installed.
Lab Macs move on to Script 4, and install based on the room they're in. Then then move to Script 5 which installs Sophos, and completes enrolment.