From d314680276995703678611156201ac8ad4e44a43 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 28 Nov 2024 12:36:46 +0100 Subject: [PATCH] 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 --- src/opnsense/service/conf/actions.d/actions_system.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/service/conf/actions.d/actions_system.conf b/src/opnsense/service/conf/actions.d/actions_system.conf index f68581f51..107d92b00 100644 --- a/src/opnsense/service/conf/actions.d/actions_system.conf +++ b/src/opnsense/service/conf/actions.d/actions_system.conf @@ -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