Skip to content

Instantly share code, notes, and snippets.

Avatar
🍁

Timothy Sutton timsutton

🍁
View GitHub Profile
View Notes.md
View gist:6212182
<?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>Description</key>
<string>Downloads the current release version of Carbon Copy Cloner and imports into Munki.</string>
<key>Input</key>
<dict>
<key>IDENTIFIER</key>
<string>com.github.keeleysam.autopkg.munki.CarbonCopyCloner</string>
View gist:5503214
#!/bin/sh
# Set paths to our utilities
networksetup=/usr/sbin/networksetup
airport=/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport
# Determines which OS the script is running on
osvers=$(sw_vers -productVersion | awk -F. '{print $2}')
# On 10.7 and higher, the Wi-Fi interface needs to be identified.