From 41431ac718d582462b244229c55b05f365e28602 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Mon, 13 Aug 2012 08:36:24 +0200 Subject: .osx: Add energy saver preferences --- .osx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.osx') 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 # ############################################################################### -- cgit v1.2.3