You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env bash
|
|
set -o errexit
|
|
|
|
main() {
|
|
find /sys -type f -name 'temp*_input' | while read -r line; do
|
|
echo "hwmon ${line}"
|
|
done
|
|
cat <<'EOF'
|
|
|
|
tp_fan /proc/acpi/ibm/fan
|
|
|
|
(0, 0, 43)
|
|
(1, 41, 46)
|
|
(2, 44, 49)
|
|
(3, 47, 52)
|
|
(4, 50, 55)
|
|
(5, 53, 58)
|
|
(7, 56, 32767)
|
|
EOF
|
|
}
|
|
|
|
main "${@}"
|