Restart fancontrol via systemd upon wake

<p>Fan contral doesn't like when the sensors aren't there. This just restarts fancontrol once everything is ready to go. There must be a simpler, better solution but this works for now.</p> <p>Create a file:</p> <pre><code>sudo vim /lib/systemd/system-sleep/fancontrol

#!/bin/sh

case "$1" in post) sleep 5 systemctl restart fancontrol.service ;; esac </code></pre>

<p>Make it executable:</p> <pre><code>sudo chmod +x /lib/systemd/system-sleep/fancontrol </code></pre>

© 2026 Code0x378