Skip to content
This repository
Browse code

.osx: Add energy saver preferences

  • Loading branch information...
commit 41431ac718d582462b244229c55b05f365e28602 1 parent b912e0b
Mathias Bynens authored

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. +6 0 .osx
6 .osx
@@ -69,6 +69,12 @@ defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
69 69 # in the login window
70 70 sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
71 71
  72 +# Restart automatically if the computer freezes
  73 +systemsetup -setrestartfreeze on
  74 +
  75 +# Never go into computer sleep mode
  76 +systemsetup -setcomputersleep Off > /dev/null
  77 +
72 78 ###############################################################################
73 79 # Trackpad, mouse, keyboard, Bluetooth accessories, and input #
74 80 ###############################################################################

0 comments on commit 41431ac

Please sign in to comment.
Something went wrong with that request. Please try again.