diff options
| author | Craig Jennings <c@cjennings.net> | 2025-05-07 22:21:44 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-05-07 22:21:44 -0500 |
| commit | 38bb9e0500d4b300e40c6df21cf3fc92413d7cf5 (patch) | |
| tree | 2857de9995e6f53992906f31a583cdf4d9ce4b87 /root_scripts | |
| parent | c57162408b589a50117320edb560b1e691d44e9b (diff) | |
adding sleep_config.sh
Diffstat (limited to 'root_scripts')
| -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 + |
