Skip to content

Commit

Permalink
.osx: Fix /private path
Browse files Browse the repository at this point in the history
Closes #529.
  • Loading branch information
facastagnini authored and mathiasbynens committed May 13, 2015
1 parent f795b34 commit 605a010
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .osx
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ sudo tmutil disablelocal
sudo pmset -a hibernatemode 0

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

# Disable the sudden motion sensor as it’s not useful for SSDs
sudo pmset -a sms 0
Expand Down

0 comments on commit 605a010

Please sign in to comment.