diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-10-18 16:44:57 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-10-18 16:47:56 -0400 |
commit | 5ef2aed3f3961b72699d9881ed09560f4d01371a (patch) | |
tree | 0a03131e31f9f2fe5762afab6d99319f742eb9b3 /scripts/os/freebsd/80-microcode | |
parent | aa28ec7ef20517e994f01753e8c4e6fdd4d0643c (diff) | |
download | infrastructure-5ef2aed3f3961b72699d9881ed09560f4d01371a.tar.gz |
Tons of desktop fixes
Diffstat (limited to 'scripts/os/freebsd/80-microcode')
-rw-r--r-- | scripts/os/freebsd/80-microcode | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/os/freebsd/80-microcode b/scripts/os/freebsd/80-microcode new file mode 100644 index 0000000..f9e213e --- /dev/null +++ b/scripts/os/freebsd/80-microcode @@ -0,0 +1,14 @@ +#!/bin/sh + +: ${microcode_name:='intel-ucode.bin'} + +# Only run this file on baremetal hosts. +if [ "$BOXCONF_VIRTUALIZATION_TYPE" != none ]; then + return +fi + +pkg install -y cpu-microcode + +set_loader_conf \ + cpu_microcode_load=YES \ + cpu_microcode_name="/boot/firmware/${microcode_name}" |