diff --git a/Helpers/brandDEPinstall.sh b/Helpers/brandDEPinstall.sh new file mode 100644 index 0000000..025d850 --- /dev/null +++ b/Helpers/brandDEPinstall.sh @@ -0,0 +1,35 @@ +#!/bin/sh +######################################################################### +# +# ABOUT THIS PROGRAM +# +# NAME +# DEPNotify Branding for app installs +# +# SYNOPSIS +# brandDEPinstall.sh +# FOR INITIAL DEPLOYMENT OR ENROLMENT USE ONLY +######################################################################### +# +# HISTORY +# +# Version: 1.2 +# +# - 1.1 Michael Tanner, 04.10.2021 +# +######################################################################### +# Script to brand DEPNotify with PurpleComputing for app installs. +# + +## BRANDING DEPNOTIFY WINDOW +echo 'Command: MainTitle: Deploying your Mac' >> /var/tmp/depnotify.log +echo 'Command: Image: /Library/Application Support/Purple/logo.png' >> /var/tmp/depnotify.log +echo 'Command: MainText: Your organisation is using a Mobile Device Management solution provided by Purple Computing, we are now installing your organisations software, settings and policies.' >> /var/tmp/depnotify.log + +## STARTING INSTALLS ### +echo 'Status: Starting Software Installs' >> /var/tmp/depnotify.log +#sudo -u $(stat -f '%Su' /dev/console) /bin/sh <<'END' +chmod 777 /var/tmp/depnotify.log +killall DEPNotify +/Applications/Utilities/DEPNotify.app/Contents/MacOS/DEPNotify +chmod 777 /var/tmp/depnotify.log \ No newline at end of file