aboutsummaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-02-28 23:24:43 +0100
committerKarel Kočí <cynerd@email.cz>2017-02-28 23:24:43 +0100
commit5c9aa6a1bac34068e29e78afbc84331c83fe23a3 (patch)
tree865ee38bc9c6afb628102e8e66f013a86c70427d /local
parent40c2333ee28eaa8d314de2d394bca4b61286205d (diff)
downloadmyconfigs-5c9aa6a1bac34068e29e78afbc84331c83fe23a3.tar.gz
myconfigs-5c9aa6a1bac34068e29e78afbc84331c83fe23a3.tar.bz2
myconfigs-5c9aa6a1bac34068e29e78afbc84331c83fe23a3.zip
Chnage hwmon number in asus-fan
Diffstat (limited to 'local')
-rwxr-xr-xlocal/bin/asus-fan3
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"