Skip to content

Commit

Permalink
Update disable-turboboost_ht
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT authored Sep 22, 2023
1 parent cf046c1 commit 65d6851
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion provision-contest/disable-turboboost_ht
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash
bin/bash
set -eu -o pipefail

shopt -s extglob

declare -A core_ids

# shellcheck disable SC2012
for cpu in $(ls -1d /sys/devices/system/cpu/cpu* | sort --version-sort) ; do
[[ $(basename $cpu) =~ ^cpu[0-9]+$ ]] || continue

Expand Down

0 comments on commit 65d6851

Please sign in to comment.