vmatare / thinkfan

The minimalist fan control program
GNU General Public License v3.0
534 stars 61 forks source link

Remove path on sleep command #188

Closed leegarrett closed 2 years ago

leegarrett commented 2 years ago

sleep is traditionally installed to /bin/. Only systems with merged /usr/{bin,lib,sbin}/ directories have it in /usr/bin/.

This fixes at least one issue people are having with this service. The other options are using /bin/sleep instead. This will also work on merged /usr/ systems, as /bin will symlink to /usr/bin/ where the binary is.

It's probably also a good idea to remove the full path on all other commands, too. But so far I haven't seen any issue with those.

vmatare commented 2 years ago

That totally makes sense, thanks!