From 80dd529f452b5beb650ef25e2b77a7f2467f762f Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 9 Oct 2007 13:03:08 +0000 Subject: [PATCH] Fix some conversion rules for the adm1024. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4935 7894878c-1315-0410-8ee3-d5d059ff63e0 --- etc/sensors-conf-convert | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/sensors-conf-convert b/etc/sensors-conf-convert index d92ce67b..bceaa979 100755 --- a/etc/sensors-conf-convert +++ b/etc/sensors-conf-convert @@ -155,8 +155,9 @@ BEGIN qr/"5V(|_min|_max)"/ => sub { "in3$1" }, qr/"12V(|_min|_max)"/ => sub { "in4$1" }, qr/\bVccp2(|_min|_max)\b/ => sub { "in5$1" }, + qr/\btemp_hyst\b/ => sub { "temp1_min" }, qr/\btemp(\d)\b/ => sub { "temp".($1+1) }, - qr/\btemp(\d)_hyst\b/ => sub { "temp".($1+1)."_max_hyst" }, + qr/\btemp(\d)_hyst\b/ => sub { "temp".($1+1)."_min" }, qr/\btemp(\d)_over\b/ => sub { "temp".($1+1)."_max" }, }, "maxilife" => {