From 5c9aa6a1bac34068e29e78afbc84331c83fe23a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Feb 2017 23:24:43 +0100 Subject: Chnage hwmon number in asus-fan --- local/bin/asus-fan | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3