mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-23 21:30:50 +07:00
5fa3ea047a
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
12 lines
403 B
Bash
12 lines
403 B
Bash
#!/bin/bash
|
|
|
|
cpufreq_modules="freq_table cpufreq_stats cpufreq thermal_sys processor mperf acpi-cpufreq cpufreq_ondemand cpufreq_performance cpufreq_powersave cpufreq_conservative"
|
|
|
|
# shellcheck disable=SC2154
|
|
for module_name in $cpufreq_modules; do
|
|
module=$(find . -name "${module_name}".ko)
|
|
[ -e "${module}" ] && install -Dm644 "${module}" "${TmpInstDir}/lib/modules/${module_name}.ko"
|
|
done
|
|
|
|
exit 0
|