Permalink
Browse files

.osx: Add energy saver preferences

  • Loading branch information...
1 parent b912e0b commit 41431ac718d582462b244229c55b05f365e28602 @mathiasbynens committed Aug 13, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 .osx
View
6 .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 #
###############################################################################

0 comments on commit 41431ac

Please sign in to comment.