summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2021-03-17 16:08:15 +0300
committerGeorge Hung <george.hung@quantatw.com>2021-03-23 04:04:17 +0300
commit2f2806f5ec8c24918e08db168219094c99f49c97 (patch)
tree5ee5320fc38859e33e1012a839f2dc4b8c53c916 /meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace
parent1353b8dd1f96dabf8b33f8b0ba70e882c35d424c (diff)
downloadopenbmc-2f2806f5ec8c24918e08db168219094c99f49c97.tar.xz
meta-quanta: gbs: set Max/Min value to i2cool sensors
Set the Max/Min value to i2cool sensors to avoid the abnormal current/thershold values in the SEL logs Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ie46e07a9a41f65b820258675f0e213e5434583cc
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace')
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace
index 8068d3bd2..eae38b23d 100644
--- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace
+++ b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/phosphor-virtual-sensor.service.replace
@@ -8,6 +8,7 @@ ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/inlet
ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/outlet_0
ExecStartPre=mapper wait /xyz/openbmc_project/sensors/temperature/outlet_1
ExecStart=/usr/bin/virtual-sensor
+ExecStartPost=/usr/bin/setMaxMinValue.sh
Type=dbus
BusName=xyz.openbmc_project.VirtualSensor
SyslogIdentifier=phosphor-virtual-sensor