diff options
author | Karel Kočí <cynerd@email.cz> | 2017-02-28 23:24:43 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-02-28 23:24:43 +0100 |
commit | 5c9aa6a1bac34068e29e78afbc84331c83fe23a3 (patch) | |
tree | 865ee38bc9c6afb628102e8e66f013a86c70427d | |
parent | 40c2333ee28eaa8d314de2d394bca4b61286205d (diff) | |
download | myconfigs-5c9aa6a1bac34068e29e78afbc84331c83fe23a3.tar.gz myconfigs-5c9aa6a1bac34068e29e78afbc84331c83fe23a3.tar.bz2 myconfigs-5c9aa6a1bac34068e29e78afbc84331c83fe23a3.zip |
Chnage hwmon number in asus-fan
-rwxr-xr-x | local/bin/asus-fan | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/local/bin/asus-fan b/local/bin/asus-fan index 00337ba..09e54f1 100755 --- a/local/bin/asus-fan +++ b/local/bin/asus-fan @@ -1,5 +1,6 @@ #!/bin/sh -HWMON=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon2 +# TODO this probably should be auto detected, because hwmon number can change +HWMON=/sys/devices/platform/asus-nb-wmi/hwmon/hwmon1 if [ "$(whoami)" != "root" ]; then echo "Run $0 only with root privileges" |