mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-23 23:40:53 +07:00
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
|
#!/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
|