Created
November 1, 2011 10:54
-
-
Save midore/1330308 to your computer and use it in GitHub Desktop.
Revisions
-
midore revised this gist
Oct 11, 2012 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -83,3 +83,7 @@ launchctl unload -w /System/Library/LaunchAgents/com.apple.mdmclient.agent.plist # end #------------------------- cat /var/db/launchd.db/com.apple.launchd.peruser.$myid/overrides.plist > $myid-ovverrides-$myd.txt # 2011-11-14 -
midore revised this gist
Nov 14, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ myd=`date "+%Y-%m-%d-%H-%M"` #------------------------- # Defaults write #------------------------- # defaults write -g NSQuitAlwaysKeepsWindows -bool false #------------------------- # Backup -
midore created this gist
Nov 1, 2011 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,85 @@ #--------------------------------------------------------------------- # General user #--------------------------------------------------------------------- myid=`id -u` myd=`date "+%Y-%m-%d-%H-%M"` #------------------------- # Defaults write #------------------------- defaults write -g NSQuitAlwaysKeepsWindows -bool false #------------------------- # Backup #------------------------- # launchctl bslist -j > ~/default-launch-bslist-general.txt # launchctl list > ~/default-launchlist-general.txt # ps -A > ~/default-current-ps-general.txt cat /var/db/launchd.db/com.apple.launchd.peruser.$myid/overrides.plist > ~/defaults-$myid-ovverrides.txt #------------------------- # Blued #------------------------- launchctl unload -w /System/Library/LaunchAgents/com.apple.btsa.plist launchctl unload -w /System/Library/LaunchAgents/com.apple.bluetoothUIServer.plist #------------------------- # cupsd #------------------------- # com.apple.printuitool.agent # com.apple.printtool.agent #------------------------- # ScrennSharing #------------------------- launchctl unload -w /System/Library/LaunchAgents/com.apple.screensharing.agent.plist #------------------------- # RemoteDesktop #------------------------- # man rcd # rcd -- Remote control daemon. launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist #------------------------- # iDisk, iCal #------------------------- launchctl unload -w /System/Library/LaunchAgents/com.apple.FileSyncAgent.iDisk.plist launchctl unload -w /System/Library/LaunchAgents/com.apple.iCalPush.plist #------------------------- # mdmclient #------------------------- # man mdmclient # mdmclient -- MDM (Mobile Device Management) client launchctl unload -w /System/Library/LaunchAgents/com.apple.mdmclient.agent.plist #------------------------- # ubd #------------------------- # man ubd # ubd -- ubiquity daemon, part of Mobile Documents # launchctl unload -w /System/Library/LaunchAgents/com.apple.ubd.plist #------------------------- # findmymac #------------------------- # launchctl unload -w /System/Library/LaunchAgents/com.apple.findmymacmessenger.plist #------------------------- # talagent #------------------------- # man talagent # launchctl unload -w /System/Library/LaunchAgents/com.apple.talagent.plist #------------------------- # TMLaunchAgent.plist #------------------------- # launchctl unload -w /System/Library/LaunchAgents/com.apple.TMLaunchAgent.plist #------------------------- # end #------------------------- cat /var/db/launchd.db/com.apple.launchd.peruser.$myid/overrides.plist > $myid-ovverrides-$myd.txt