Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Created By Dan De Rusha Damon O'Hare 4-22-15
- #
- ## we have cocoaD installed in our Utilities directory
- #
- CD="/Applications/Utilities/cocoaDialog.app/Contents/MacOS/cocoaDialog"
- #
- ### Answer to install - Yes triggers the policy scoped with the custom trigger xeroxCorp5875
- rv=$($CD yesno-msgbox --no-cancel --text "Do you want to install Xerox Corp 5875?")
- if [ "$rv" == "1" ]; then
- echo "Yes"
- jamf policy -trigger xeroxCorp5875
- elif [ "$rv" == "2" ]; then
- echo "No, Don't Have time to Install Xerox 5875"
- fi
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement