This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadIdentifier</key> | |
<string>org.ops.mcx.blockapps</string> | |
<key>PayloadRemovalDisallowed</key> | |
<true/> | |
<key>PayloadScope</key> | |
<string>System</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>_metadata</key> | |
<dict> | |
<key>created_by</key> | |
<string>epietrb111</string> | |
<key>creation_date</key> | |
<date>2015-04-17T16:06:28Z</date> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>_metadata</key> | |
<dict> | |
<key>created_by</key> | |
<string>epietrb111</string> | |
<key>creation_date</key> | |
<date>2014-09-14T22:21:34Z</date> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# AccountRenamer.command | |
# | |
# Interactive tool to rename an account from one name to another (like when a teacher gets renamed and their e account changes) | |
# | |
# HISTORY: | |
# | |
# 1.0 2013-03-25 bmp - initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadContent</key> | |
<dict> | |
<key>com.apple.Safari</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Munki: Configure | |
role="school" | |
# valid options: school, staff, lab, classroom, cart | |
# ################################################# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SERVER_MOUNT_PT="/Volumes/Munki" | |
SERVER_URL="//SERVICEACCOUNTNAME:[email protected]/Munki" | |
we_mounted="false" | |
MUNKI_MASTER="/Volumes/Munki/Master Repository/munki_repo/" | |
MUNKI_LOCAL="/Users/Shared/munki_repo" | |
# important, trailing slash must be on source and must not be on destination | |
MountServer() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# 1.1 2014-03-04 BP rewrote to use complete.plist MCX since the pref file method was unreliable | |
# 1.0 2014-02-23 BP first release for use with 10.9.x base images | |
# based on gist published by Greg Neagle: https://gist.github.com/gregneagle/6957826 | |
# only needed (and tested) on 10.9, but may work on older OS versions | |
from AppKit import NSWorkspace, NSScreen | |
from Foundation import NSURL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# save this file at /Library/yourorg/ScriptRunner.sh | |
script_path="${0}" | |
source_path=$(dirname "${script_path}") | |
chmod 777 "/var/log/yourorg-scriptrunner.log" | |
if [ -d "${source_path}/User Login Scripts" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SCRIPT_VERSION="1.0" | |
# some background info here: https://discussions.apple.com/message/24596710#24596710 | |
# verify ARD Admin version | |
# quit ARD Admin - if running, wait 10 seconds | |
# kill cfprefsd | |
# rename plist | |
# sed |