diff options
| -rwxr-xr-x | root_scripts/sleep_config.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/root_scripts/sleep_config.sh b/root_scripts/sleep_config.sh new file mode 100755 index 0000000..12f8202 --- /dev/null +++ b/root_scripts/sleep_config.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# Craig Jennings <c@cjennings.net> +# script sets up sleep with lid closed after install +# adapted from instructions on stevengharms.com +# to test +# - +# - +# - + +# update sysctl.conf +echo "hw.acpi.lid_switch_state=S3" >> /etc/sysctl.conf + +# install graphics driver +pkg install -y drm-515-kmod + +sysrc kld_list="i915kms" + +pw groupmod video -M cjennings,root + |
