From 7b21969cf75db969132b28541b2e1c228eeb8207 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sun, 12 Aug 2012 12:50:24 +0200 Subject: .osx: Add energy saver settings --- .osx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.osx b/.osx index f659e06..a27e704 100755 --- a/.osx +++ b/.osx @@ -69,6 +69,14 @@ defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true # in the login window sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName +# Restart automatically after 10 seconds if the computer freezes +sudo pmset -b panicrestart 10 # battery +sudo pmset -c panicrestart 10 # power adapter + +# Never go into computer sleep mode +sudo pmset -b sleep 0 # battery +sudo pmset -c sleep 0 # power adapter + ############################################################################### # Trackpad, mouse, keyboard, Bluetooth accessories, and input # ############################################################################### -- cgit v1.2.3