Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# AMD GPU tuning — desktop only (high perf level + custom fan curve).
|
||||
# Skipped on laptops or non-AMD GPUs.
|
||||
if [ "$IS_DESKTOP" != 1 ] || [ "$GPU" != amd ]; then
|
||||
info "skipping AMD GPU tuning (IS_DESKTOP=$IS_DESKTOP GPU=$GPU)"
|
||||
return 0 2>/dev/null || exit 0
|
||||
fi
|
||||
|
||||
deploy usr/local/bin/gpuprofile.sh 755
|
||||
deploy usr/local/bin/amdgpu-fancontrol.sh 755
|
||||
deploy etc/systemd/system/gpuprofile.service
|
||||
deploy etc/systemd/system/amdgpu-fancontrol.service
|
||||
deploy etc/systemd/system/amdgpu-fancontrol.timer
|
||||
|
||||
systemctl daemon-reload
|
||||
enable_unit gpuprofile.service
|
||||
enable_unit amdgpu-fancontrol.timer
|
||||
Reference in New Issue
Block a user