system: ignore coretemp(4) tjmax

pchtherm(4) is weird in naming but do not do anything
with it yet:

dev.pchtherm.0.ctt
dev.pchtherm.0.pmtemp
dev.pchtherm.0.t0temp
dev.pchtherm.0.t1temp
dev.pchtherm.0.t2temp
dev.pchtherm.0.temperature <-- seems to be the only real temperature

sysctl(8) can only filter write-vars so we may have to go back to
doing a whole lot of computation work just to get a useful reading
without all the "configuration" variables.

PR: https://forum.opnsense.org/index.php?topic=36234.0
This commit is contained in:
Franco Fichtner 2024-11-28 12:36:46 +01:00
parent 0ebd95476a
commit d314680276

View File

@ -97,7 +97,7 @@ type:script
message:Halt system
[sensors]
command:sysctl -aF | awk -F ": " '$2 ~ "^IK" { print $1 }' | grep -v "\._" | sort
command:sysctl -aF | awk -F ": " '$2 ~ "^IK" { print $1 }' | grep -v -e "\._" -e "\.tjmax" | sort
parameters:
type:script_output
message:Probing system temperature sensor location