summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/setMaxMinValue.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/setMaxMinValue.sh')
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/setMaxMinValue.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/setMaxMinValue.sh b/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/setMaxMinValue.sh
deleted file mode 100644
index 604eafccc..000000000
--- a/meta-quanta/meta-gbs/recipes-phosphor/sensors/phosphor-virtual-sensor/setMaxMinValue.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-serviceName="xyz.openbmc_project.VirtualSensor"
-interfaceName="xyz.openbmc_project.Sensor.Value"
-objectPath="/xyz/openbmc_project/sensors/temperature/"
-
-# set MaxValue, MinValue to sensor dbus property
-for i in {0..2}; do
- sensorPath="${objectPath}i2cool_${i}"
- mapper wait $sensorPath
- busctl set-property $serviceName $sensorPath $interfaceName MaxValue d 127
- busctl set-property $serviceName $sensorPath $interfaceName MinValue d -- -128
-done
-
-exit 0