mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-08 13:13:47 -05:00
Uncommented SSD config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user