From ccf1846f079f7d529d2f7542c1084a8b6697ff2e Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 18 Oct 2024 16:57:05 -0400 Subject: cleanup --- scripts/hostclass/laptop/20-laptop | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts/hostclass/laptop') diff --git a/scripts/hostclass/laptop/20-laptop b/scripts/hostclass/laptop/20-laptop index dba2c5f..fc2f700 100644 --- a/scripts/hostclass/laptop/20-laptop +++ b/scripts/hostclass/laptop/20-laptop @@ -21,16 +21,17 @@ sysrc -v ifconfig_ue0='DHCP' # Install laptop packages. pkg install -y networkmgr -# Misc power saving stuff. -set_loader_conf \ - vfs.zfs.txg.timeout=10 \ +# Increase ZFS timeout to save battery. +set_loader_conf vfs.zfs.txg.timeout=10 +# Set intel power saving options. if [ "$graphics_type" = intel ]; then set_loader_conf \ compat.linuxkpi.i915_disable_power_well=1 \ compat.linuxkpi.i915_enable_dc=2 fi +# Load appropriate WiFi drivers. case ${wireless_type:-} in iwm*) set_loader_conf \ -- cgit v1.2.3