diff options
author | Maxim Devaev <[email protected]> | 2022-03-23 01:37:47 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-03-23 01:37:47 +0300 |
commit | 0d93862b371e8f687e49c390a48498663e63c779 (patch) | |
tree | 6fa8a5f44060102db487976c478db07e32fc5e9c /PKGBUILD | |
parent | ce347fad40f8f8a0958e89054df2d76ba69cf2d9 (diff) |
v3 fan config
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -198,6 +198,11 @@ for _variant in "${_variants[@]}"; do install -DTm644 configs/os/udev/$_platform-$_board.rules \"\$pkgdir/etc/udev/rules.d/99-kvmd.rules\" install -DTm444 configs/kvmd/main/$_platform-$_board.yaml \"\$pkgdir/etc/kvmd/main.yaml\" + if [ -f configs/fan/$_platform.ini ]; then + backup=(\"\${backup[@]}\" etc/kvmd/fan.ini) + install -DTm444 configs/kvmd/fan/$_platform.ini \"\$pkgdir/etc/kvmd/fan.ini\" + fi + if [ -f configs/os/modules-load/$_platform.conf ]; then backup=(\"\${backup[@]}\" etc/modules-load.d/kvmd.conf) install -DTm644 configs/os/modules-load/$_platform.conf \"\$pkgdir/etc/modules-load.d/kvmd.conf\" |