linux_dsm_epyc7002/SynoBuildConf/install-virinst-T1tool
AuxXxilium 5fa3ea047a init: add dsm gpl source
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
2024-07-05 18:00:04 +02:00

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