aboutsummaryrefslogtreecommitdiffstats
path: root/.osx
diff options
context:
space:
mode:
Diffstat (limited to '.osx')
-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 #
###############################################################################