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
USE_PKGBUILD=1 | |
include /usr/local/share/luggage/luggage.make | |
TITLE=kaseya_pkg | |
REVERSE_DOMAIN=com.yourcompany | |
PACKAGE_VERSION=7.0.0.4 | |
PAYLOAD=\ | |
l_tmp\ | |
pack-kaseya_pkg\ | |
pack-script-postinstall |
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>edu.sju.dock_labs_generic</string> | |
<key>PayloadRemovalDisallowed</key> | |
<true /> | |
<key>PayloadScope</key> | |
<string>User</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 | |
/usr/bin/osascript -e "set volume without output muted" | |
/usr/bin/osascript -e "set volume output volume 100" | |
/usr/bin/open -a Safari.app "https://www.youtube.com/watch?v=CGJd8FLAqRA" | |
exit 0 |
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 [[ -n $(/usr/bin/who | /usr/bin/awk '/console/ { print $1}') ]]; then | |
# Someone is logged in. Installation will proceed. | |
exit 0 | |
else | |
# Nobody is logged in. Canceling installation. | |
exit 1 | |
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
<?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>edu.sju.profile.disable_screen_lock</string> | |
<key>PayloadRemovalDisallowed</key> | |
<false /> | |
<key>PayloadScope</key> | |
<string>User</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 | |
HOSTN=`scutil --get LocalHostName` | |
scutil --set HostName "$HOSTN" | |
scutil --set ComputerName "$HOSTN" | |
exit |
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 | |
/usr/sbin/scutil --get ComputerName | |
/usr/sbin/scutil --get HostName | |
/usr/sbin/scutil --get LocalHostName | |
exit 0 |
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 | |
# enable our Mac SUS | |
defaults write /Library/Preferences/ManagedInstalls InstallAppleSoftwareUpdates -bool True | |
defaults write /Library/Preferences/ManagedInstalls SoftwareUpdateServerURL "http://sus.org/index_release.sucatalog" | |
# set our SUS for App Store updates, but disable update checking | |
defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://sus.org/index_release.sucatalog |
NewerOlder