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 | |
# Determine working directory | |
install_dir=`dirname $0` | |
# | |
# Installing Microsoft Lync | |
# |
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 | |
# | |
# User-editable variables | |
# | |
# For the fileURL variable, put the complete address | |
# of the zipped Casper QuickAdd installer package | |
fileURL="http://server_name_here.domain.com/quickadd_name_goes_here.zip" |
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 | |
# Detects if /Users is present | |
# If /Users is present, the | |
# chflags command will unhide it | |
if [[ -d "/Users" ]]; then | |
chflags nohidden "/Users" | |
fi |
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 | |
# Detects if /Users is present | |
# If /Users is present, the | |
# chflags command will unhide it | |
if [[ -d "$3/Users" ]]; then | |
chflags nohidden "$3/Users" | |
fi |
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 | |
# Determine OS version | |
OSVERS=$(sw_vers -productVersion | awk -F. '{print $2}') | |
# Macs running 10.6.x or earlier are not able to use profiles. | |
# If the script detects that it is running on an OS earlier than | |
# 10.7.0, the script will exit at this point to avoid problems. | |
if [[ ${OSVERS} -lt 7 ]]; 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
<?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>Label</key> | |
<string>com.company.fixcaspermdm</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>sh</string> | |
<string>/var/root/fixcaspermdm.sh</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
#!/bin/bash | |
# | |
# User-editable variables | |
# | |
# For the jss_server_address variable, put the complete | |
# fully qualified domain name address of your Casper server | |
jss_server_address="casper.server.here" |
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
Needs more commenting and testing, but this looks like it works OK. | |
#!/bin/bash | |
# Usual location of the com.sophos.sau.plist file used | |
# by Sophos to pre-configure the AutoUpdate settings to | |
# point to a Sophos enterprise management or update server. | |
sophos_sau="/Library/Preferences/com.sophos.sau.plist" |
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 | |
if [ -e "/usr/bin/seqninja" ]; then | |
rm -rf "/usr/bin/seqninja" | |
fi | |
if [ -e "/usr/bin/seqninja12" ]; then | |
rm -rf "/usr/bin/seqninja12" | |
fi |
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 | |
if [ -e "/usr/bin/seqninja" ]; then | |
rm -rf "/usr/bin/seqninja" | |
fi | |
if [ -e "/usr/bin/seqninja11" ]; then | |
rm -rf "/usr/bin/seqninja11" | |
fi |