mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-06-11 04:30:29 +01:00
35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
#!/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 |