From 4aee90d901f3d32dd7558037b2cd73708674240a Mon Sep 17 00:00:00 2001 From: Chris Lowder Date: Tue, 7 Jul 2020 12:28:03 +0200 Subject: [PATCH] Remove SSD optimisations These are from a time before SSDs were the default for Macs and aren't needed anymore. --- set-defaults.sh | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/set-defaults.sh b/set-defaults.sh index 77b4305..ca5ec98 100755 --- a/set-defaults.sh +++ b/set-defaults.sh @@ -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