mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 01:50:54 +07:00
5fa3ea047a
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
28 lines
1.2 KiB
Bash
28 lines
1.2 KiB
Bash
#!/bin/bash
|
|
|
|
# shellcheck disable=SC2154
|
|
if [ -e "${KernelDir}/lib/synolib/syno_sata_signal_check.ko" ]; then
|
|
install -Dm644 "${KernelDir}"/lib/synolib/syno_sata_signal_check.ko "${TmpInstDir}"/lib/modules/syno_sata_signal_check.ko
|
|
fi
|
|
if [ -e "${KernelDir}/lib/synolib/syno_sata_signal_test.ko" ]; then
|
|
install -Dm644 "${KernelDir}"/lib/synolib/syno_sata_signal_test.ko "${TmpInstDir}"/lib/modules/syno_sata_signal_test.ko
|
|
fi
|
|
|
|
if [ -e "${KernelDir}/lib/synolib/syno_jmb585_update_spi.ko" ]; then
|
|
install -Dm644 "${KernelDir}"/lib/synolib/syno_jmb585_update_spi.ko "${TmpInstDir}"/lib/modules/syno_jmb585_update_spi.ko
|
|
fi
|
|
|
|
if [ -e "${KernelDir}/lib/synolib/asm116xfwdl/asm116xfwdl.ko" ]; then
|
|
install -Dm644 "${KernelDir}"/lib/synolib/asm116xfwdl/asm116xfwdl.ko "${TmpInstDir}"/lib/modules/asm116xfwdl.ko
|
|
fi
|
|
|
|
if [ -e "${KernelDir}/lib/synolib/syno_hddpwrctl_test.ko" ]; then
|
|
install -Dm644 "${KernelDir}"/lib/synolib/syno_hddpwrctl_test.ko "${TmpInstDir}"/lib/modules/syno_hddpwrctl_test.ko
|
|
fi
|
|
|
|
if [ -e "${KernelDir}/lib/synolib/syno_ahci_reg_read_test.ko" ]; then
|
|
install -Dm644 "${KernelDir}"/lib/synolib/syno_ahci_reg_read_test.ko "${TmpInstDir}"/lib/modules/syno_ahci_reg_read_test.ko
|
|
fi
|
|
|
|
exit 0
|