Marri Devender Rao | 30ff78b | 2022-03-28 23:24:52 -0500 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
2 | # | ||||
3 | # config: 2 50 | ||||
4 | # @brief: Collect hwmon information | ||||
5 | # | ||||
6 | |||||
7 | . $DREPORT_INCLUDE/functions | ||||
8 | |||||
9 | file_name="hwmon.log" | ||||
10 | if [ -d "/sys/class/hwmon/" ]; then | ||||
11 | add_cmd_output "grep -r . /sys/class/hwmon/*" "$file_name" "hwmon" | ||||
12 | fi |