也许需要移到其他地方。我需要将所有风扇调到 100%。我使用的脚本在从终端运行时有效,但在启动时无效
ln -s /etc/init/setfan.sh /etc/rc3.d/S99setfan.sh
lrwxrwxrwx 1 root root 21 Nov 23 19:59 S99setfan.sh -> /etc/init.d/setfan.sh
-rwxr-xr-x 1 root root 326 Nov 23 19:55 /etc/init.d/setfan.sh
!/bin/bash
sudo nvidia-xconfig -a --cool-bits=4
let NumGPU=12
let NumFAN=12
for (( n=0; n < NumGPU; n++))
do
/usr/bin/nvidia-settings -a "[gpu:$n]/GPUFanControlState=1"
done
for (( n=0; n < NumFAN; n++))
do
/usr/bin/nvidia-settings -a "[fan:$n]/GPUTargetFanSpeed=100"
done