These scripts create a systemd unit and a script to make a Dell PowerEdge's fans always run at 20%
This script requires the package ipmitool
To install ipmitool on your PowerEdge, use your package manager.
for example:
[fedora]
sudo dnf install ipmitool
[opensuse]
sudo zypper install ipmitool
[debian-based distros]
sudo apt install ipmitool
Open a text editor such as vim or nano and paste fans20exec.sh then save - it puts the script to power the fans at 20% in the directory that systemd looks for unit files. Then
chmod +x fans20exec.sh
sudo ./fans20exec.sh
Open a text editor such as vim or nano and paste fans20service.sh then save - it puts the systemd unit file in the proper place.
chmod +x fans20service.sh
sudo ./fans20service.sh