This file contains hidden or 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
nkalister's iMac Pro:~ nkalister$ autopkg run -v Silverlight-deploy.jss | |
Processing Silverlight-deploy.jss... | |
URLDownloader | |
URLDownloader: Storing new Last-Modified header: Wed, 07 Sep 2016 02:09:13 GMT | |
URLDownloader: Storing new ETag header: "80aaebd3ac8d21:0" | |
URLDownloader: Downloaded /Users/nkalister/Library/AutoPkg/Cache/local.jss.Silverlight-deploy/downloads/Silverlight.dmg | |
EndOfCheckPhase | |
CodeSignatureVerifier | |
CodeSignatureVerifier: Mounted disk image /Users/nkalister/Library/AutoPkg/Cache/local.jss.Silverlight-deploy/downloads/Silverlight.dmg | |
CodeSignatureVerifier: Using path '/private/tmp/dmg.06mTWP/silverlight.pkg' matched from globbed '/private/tmp/dmg.06mTWP/silverlight*.*pkg'. |
This file contains hidden or 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 | |
OS=`sw_vers -productVersion` | |
result=`what /usr/libexec/opendirectoryd | grep PROJECT | cut -d ":" -f3` | |
if [[ "$OS" == "10.13.1" ]]; then | |
if [[ "$result" != "opendirectoryd-483.20.7" ]]; then | |
result="Not Patched" | |
else | |
result="Patched" | |
fi |
This file contains hidden or 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>PayloadDescription</key> | |
<string>Configures Configuration Profile security</string> | |
<key>PayloadDisplayName</key> |
This file contains hidden or 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
Procedure followed by Pepijn to run the high sierra firmware installer: | |
1. get the FirmwareUpdate.pkg file from the OS installer app's installESD.dmg | |
2. extract the contents using pkgutil --expand /path/to/FirmwareUpdate.pkg <path somewhere else>/FirmwareUpdate | |
3. in terminal, cd to the Scripts directory inside the expanded FirmwareUpdate pkg directory. | |
4. with Scripts as your working directory, run these 2 commands, then reboot: | |
sudo /usr/libexec/FirmwareUpdateLauncher -p "$PWD/Tools" | |
sudo /usr/libexec/efiupdater -p "$PWD/Tools/EFIPayloads" | |
5. at the reboot, firmware will be updated if there are any updates to be applied. |
This file contains hidden or 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 | |
echo "detecting network hardware" | |
networksetup -detectnewhardware | |
sleep 1 | |
echo "setting network service order" | |
while read networkService; do | |
if [[ ${networkService} == "Thunderbolt Bridge" ]]; then | |
deprioritizedServices+=( "${networkService}" ) | |
elif [[ ${networkService} =~ .*Ethernet.* ]] || [[ ${networkService} =~ .*Thunderbolt.* ]]; then | |
prioritizedServices+=( "${networkService}" ) |