Don't add thinkpad_hwmon sources for thinkfan
This commit is contained in:
parent
c4c4d338f3
commit
7c5a84ad72
@ -20,6 +20,9 @@ main() {
|
||||
printf '# THINKFAN_STEP=%s\n\n' "${THINKFAN_STEP}"
|
||||
|
||||
find /sys -type f -name 'temp*_input' | while read -r line; do
|
||||
if [[ "${line}" =~ thinkpad_hwmon ]]; then
|
||||
continue
|
||||
fi
|
||||
printf 'hwmon %s\n' "${line}"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user