diff --git a/setupScripts/osx.sh b/setupScripts/osx.sh index 4faf07c..aaabcb7 100755 --- a/setupScripts/osx.sh +++ b/setupScripts/osx.sh @@ -794,12 +794,12 @@ header "Running SSD Specific OSX Tweaks" seek_confirmation "Confirm that you have an SSD Hard Drive and want to disable sudden motion sensor." if is_confirmed; then - # success "Remove the sleep image file to save disk space" - # sudo rm /Private/var/vm/sleepimage - # success "Create a zero-byte file instead…" - # sudo touch /Private/var/vm/sleepimage - # success "…and make sure it can’t be rewritten" - # sudo chflags uchg /Private/var/vm/sleepimage + success "Remove the sleep image file to save disk space" + sudo rm /Private/var/vm/sleepimage + success "Create a zero-byte file instead…" + sudo touch /Private/var/vm/sleepimage + success "…and make sure it can’t be rewritten" + sudo chflags uchg /Private/var/vm/sleepimage success "Disable the sudden motion sensor as it’s not useful for SSDs" sudo pmset -a sms 0