minor updates

This commit is contained in:
Nathaniel Landau
2015-01-03 13:11:22 -05:00
parent 1757ee89c8
commit f03c87051a
6 changed files with 36 additions and 60 deletions

View File

@@ -32,7 +32,6 @@ fi
seek_confirmation "Run General UI Tweaks?"
if is_confirmed; then
e_success "Disabled Sound Effects on Boot"
sudo nvram SystemAudioVolume=" "
@@ -685,6 +684,24 @@ if is_confirmed; then
fi
###############################################################################
# 14. SSD-specific tweaks #
###############################################################################
e_header "Running SSD Specific OSX Tweaks"
seek_confirmation "Confirm that you have an SSD Hard Drive and want to "
if is_confirmed; then
# e_success "Remove the sleep image file to save disk space"
# sudo rm /Private/var/vm/sleepimage
# e_success "Create a zero-byte file instead…"
# sudo touch /Private/var/vm/sleepimage
# e_success "…and make sure it cant be rewritten"
# sudo chflags uchg /Private/var/vm/sleepimage
e_success "Disable the sudden motion sensor as its not useful for SSDs"
sudo pmset -a sms 0
fi
########################## DONE #############################