First, after booting, stop the background script that is running.
Second, manually configure the PWM2 output.
To check the fan speed, enter the command: cat /sys/class/pwm/pwmchip0/pwm2/duty_cycle
.
To view the fan script settings, enter: cat /sbin/fan-speed
.