mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-08 21:23:48 -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."
|
seek_confirmation "Confirm that you have an SSD Hard Drive and want to disable sudden motion sensor."
|
||||||
if is_confirmed; then
|
if is_confirmed; then
|
||||||
|
|
||||||
# success "Remove the sleep image file to save disk space"
|
success "Remove the sleep image file to save disk space"
|
||||||
# sudo rm /Private/var/vm/sleepimage
|
sudo rm /Private/var/vm/sleepimage
|
||||||
# success "Create a zero-byte file instead…"
|
success "Create a zero-byte file instead…"
|
||||||
# sudo touch /Private/var/vm/sleepimage
|
sudo touch /Private/var/vm/sleepimage
|
||||||
# success "…and make sure it can’t be rewritten"
|
success "…and make sure it can’t be rewritten"
|
||||||
# sudo chflags uchg /Private/var/vm/sleepimage
|
sudo chflags uchg /Private/var/vm/sleepimage
|
||||||
|
|
||||||
success "Disable the sudden motion sensor as it’s not useful for SSDs"
|
success "Disable the sudden motion sensor as it’s not useful for SSDs"
|
||||||
sudo pmset -a sms 0
|
sudo pmset -a sms 0
|
||||||
|
|||||||
Reference in New Issue
Block a user