archboot/usr/lib/initcpio/install/archboot_cpufreq
2022-03-14 21:32:33 +01:00

16 lines
343 B
Bash

#!/usr/bin/env bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
add_checked_modules 'arch/x86/kernel/cpu/cpufreq|drivers/cpufreq'
map add_binary "cpupower" "cpufreq-bench_plot.sh"
add_file "/etc/cpufreq-bench.conf"
}
help ()
{
cat<<HELPEOF
This hook includes cpupower tools on an archboot image.
HELPEOF
}