1#!/usr/bin/env bash 2# 3# config: 2 50 4# @brief: Collect hwmon information 5# 6 7# shellcheck source=tools/dreport.d/include.d/functions 8. "$DREPORT_INCLUDE"/functions 9 10file_name="hwmon.log" 11if [ -d "/sys/class/hwmon/" ]; then 12 add_cmd_output "grep -r . /sys/class/hwmon/*" "$file_name" "hwmon" 13fi 14