mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-28 08:22:28 +00:00
20 lines
609 B
Bash
20 lines
609 B
Bash
#!/bin/sh
|
|
#########################################################################
|
|
|
|
# SERVICE SCRIPT CALLED BY OTHER SCRIPTS
|
|
|
|
# UPDATE PURPLE HELPERS
|
|
curl -s -L https://prpl.it/helperscript | bash
|
|
|
|
##-------------------------------##
|
|
## DEPNOTIFY WINDOW ##
|
|
##-------------------------------##
|
|
|
|
# SET APP TITLE TO APPNAME
|
|
echo "$MDMAPPNAME" >> /Library/Caches/com.purplecomputing.mdm/Apps/.appinstallname
|
|
|
|
# SET DEP NOTIFY FOR REINSTALL
|
|
curl -s -L https://prpl.it/brandDEPinstall | bash
|
|
|
|
# START DEPNOTIFY
|
|
sudo -u $(stat -f "%Su" /dev/console) /Library/Application\ Support/Purple/launch-dep.sh & |