From 01751d78be9722e1d5818cef66097db99ce42ef3 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 28 Apr 2014 02:39:59 +0000 Subject: [PATCH] added Physical Id 0 to Core0 temp in branch one --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index 29a5d55..ef1f734 100755 --- a/inxi +++ b/inxi @@ -8284,7 +8284,7 @@ get_sensors_data() } # final fallback if all else fails, funtoo user showed sensors putting # temp on wrapped second line, not handled - /^(core0|core 0)(.*)\+([0-9]+)(.*)[ \t°](C|F)/ && $2 ~ /^[ \t]*\+([0-9]+)/ { + /^(core0|core 0|Physical id 0)(.*)\+([0-9]+)(.*)[ \t°](C|F)/ && $2 ~ /^[ \t]*\+([0-9]+)/ { tempWorking=gensub( /[ \t]+\+([0-9\.]+)(.*)/, "\\1", 1, $2 ) if ( core0Temp == "" || tempWorking > 0 ) { core0Temp=tempWorking