#!/usr/bin/env bash
#
# config: 2 50
# @brief: Collect hwmon information
#

# shellcheck source=tools/dreport.d/include.d/functions
. "$DREPORT_INCLUDE"/functions

file_name="hwmon.log"
if [ -d "/sys/class/hwmon/" ]; then
    add_cmd_output "grep -r . /sys/class/hwmon/*" "$file_name" "hwmon"
fi
