Skip to content

Instantly share code, notes, and snippets.

@jnschulze
Created January 7, 2014 11:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnschulze/8298231 to your computer and use it in GitHub Desktop.
Save jnschulze/8298231 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Disable Sudden Motion Sensor (SMS)
sudo pmset -a sms 0
# Diable Hibernation
sudo pmset -a hibernatemode 0
# Disable local TimeMachine Snapshots
sudo tmutil disablelocal
# Disable Spotlight Indexing
sudo mdutil -a -i off
# Remount / using 'noatime' flag
sudo mount -vuwo noatime /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment