mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 00:20:51 +07:00
12 lines
403 B
Plaintext
12 lines
403 B
Plaintext
|
#!/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
|