change comment text

This commit is contained in:
Meliox 2025-09-09 19:37:57 +02:00
parent c3984dd2a3
commit 147cebc70d

View File

@ -425,7 +425,7 @@ collect_sensors_output() {
# Example: "SODIMM":{"temp3_input":34.0} becomes "SODIMM3":{"temp3_input":34.0}\
$res->{sensorsOutput} =~ s/\\"SODIMM\\":\\{\\"temp(\\d+)_input\\"/\\"SODIMM$1\\":\\{\\"temp$1_input\\"/g;\
\
# Fix duplicate fans keys by appending fan number with a space\
# Fix duplicate fans keys by appending fan number\
# Example: "Processor Fan":{"fan2_input":1000,...} → "Processor Fan 2":{"fan2_input":1000,...}\
$res->{sensorsOutput} =~ s/\\"([^"]+)\\":\\{\\"fan(\\d+)_input\\"/\\"$1 $2\\":\{\\"fan$2_input\\"/g;\
' "$NODES_PM_FILE"