aboutsummaryrefslogtreecommitdiff
path: root/local/bin/asus-fan
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/asus-fan')
-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"