I am trying to run a bash script that controls my fans based on hdd temp.
In the script I can add my fan to "ARRAY_FAN=/sys/class/hwmon/hwmon4/pwm6"
So I am wondering how I can add multiple fans to the ARRAY_FAN variable so when the script changes rmp on ARRAY_FAN it actually changes the rpm on all fans, pwm5,pwm6,pwm7 and pwm8
Can I add /sys/class/hwmon/hwmon4/pwm5 to pwm8 as individual variables, then add them to ARRAY_FAN, or add multiple lines to the ARRAY_FAN value?
This is the script I am trying to use https://github.com/kmwoley/unRAID-Tools/blob/master/unraid_array_fan.sh