From 38bb9e0500d4b300e40c6df21cf3fc92413d7cf5 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 7 May 2025 22:21:44 -0500 Subject: adding sleep_config.sh --- root_scripts/sleep_config.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 root_scripts/sleep_config.sh (limited to 'root_scripts') 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 +# 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 + -- cgit v1.2.3