aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-08-13 08:36:24 +0200
committerMathias Bynens <mathias@qiwi.be>2012-08-13 08:37:41 +0200
commit41431ac718d582462b244229c55b05f365e28602 (patch)
treea0e9b7e5308cbd7e22f16b8155f48220790df759
parentb912e0bb9c51467c03c7b975c10ef5244a83c420 (diff)
downloaddotfiles-41431ac718d582462b244229c55b05f365e28602.tar.gz
dotfiles-41431ac718d582462b244229c55b05f365e28602.tar.bz2
dotfiles-41431ac718d582462b244229c55b05f365e28602.zip
.osx: Add energy saver preferences
-rwxr-xr-x.osx6
1 files changed, 6 insertions, 0 deletions
diff --git a/.osx b/.osx
index 3955fc4..e292423 100755
--- a/.osx
+++ b/.osx
@@ -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 #
###############################################################################