Skip to content

Commit

Permalink
Remove SSD optimisations
Browse files Browse the repository at this point in the history
These are from a time before SSDs were the default for Macs and aren't
needed anymore.
  • Loading branch information
clowder committed Jul 7, 2020
1 parent 671b065 commit 4aee90d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions set-defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,3 @@ defaults write com.apple.Safari AutoOpenSafeDownloads -bool false
defaults write com.apple.frameworks.diskimages skip-verify -bool true
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true

###############################################################################
# SSD-specific tweaks #
###############################################################################

# Disable hibernation (speeds up entering sleep mode)
sudo pmset -a hibernatemode 0

# Remove the sleep image file to save disk space
sudo rm /private/var/vm/sleepimage
# Create a zero-byte file instead…
sudo touch /private/var/vm/sleepimage
# …and make sure it can’t be rewritten
sudo chflags uchg /private/var/vm/sleepimage

0 comments on commit 4aee90d

Please sign in to comment.