summaryrefslogtreecommitdiff
path: root/root_scripts/sleep_config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'root_scripts/sleep_config.sh')
-rwxr-xr-xroot_scripts/sleep_config.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/root_scripts/sleep_config.sh b/root_scripts/sleep_config.sh
deleted file mode 100755
index 3e0cb2d..0000000
--- a/root_scripts/sleep_config.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-# Craig Jennings <c@cjennings.net>
-# script sets up sleep with lid closed after install
-# adapted from instructions on stevengharms.com
-# to test
-# - kldstat should show i915kms.ko is installed
-# - emulate the lid closing with acpiconf -s3
-# - now close and open the lid. you should come out of sleep
-
-# install graphics driver
-pkg install -y drm-61-kmod
-
-# update sysctl.conf
-echo "hw.acpi.lid_switch_state=S3" >> /etc/sysctl.conf
-
-# update rc.conf
-sysrc kld_list="i915kms"
-
-# ensure you and root are in the video group
-pw groupmod video -m cjennings,root
-