diff options
author | Mathias Bynens <mathias@qiwi.be> | 2012-08-13 08:36:24 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2012-08-13 08:37:41 +0200 |
commit | 41431ac718d582462b244229c55b05f365e28602 (patch) | |
tree | a0e9b7e5308cbd7e22f16b8155f48220790df759 | |
parent | b912e0bb9c51467c03c7b975c10ef5244a83c420 (diff) | |
download | dotfiles-41431ac718d582462b244229c55b05f365e28602.tar.gz dotfiles-41431ac718d582462b244229c55b05f365e28602.tar.bz2 dotfiles-41431ac718d582462b244229c55b05f365e28602.zip |
.osx: Add energy saver preferences
-rwxr-xr-x | .osx | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -69,6 +69,12 @@ defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true # in the login window sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName +# Restart automatically if the computer freezes +systemsetup -setrestartfreeze on + +# Never go into computer sleep mode +systemsetup -setcomputersleep Off > /dev/null + ############################################################################### # Trackpad, mouse, keyboard, Bluetooth accessories, and input # ############################################################################### |