diff options
author | Alexander Filippov <a.filippov@yadro.com> | 2019-04-19 12:13:56 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-04-23 03:54:34 +0300 |
commit | 5c96716765f3765f52fdaeaa902a9dd90787259a (patch) | |
tree | f7ed7799f53b917a81f759b76f327fe4631de6db | |
parent | 7f7a6035dacf76010e5447d768a329f3a42a4f15 (diff) | |
download | openbmc-5c96716765f3765f52fdaeaa902a9dd90787259a.tar.xz |
occ-active.sh: case insensitive for sensor names
Allows to have the OCC sensor name in upper case.
(From meta-openpower rev: f1486ebc6fded8d172a405b8b30df65951efa1cd)
Change-Id: I64176bce133b42607d4c532f25186658d2680a7f
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rwxr-xr-x | meta-openpower/recipes-phosphor/occ/openpower-occ-control/occ-active.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/occ-active.sh b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/occ-active.sh index a6097e5270..dc1f39bcb6 100755 --- a/meta-openpower/recipes-phosphor/occ/openpower-occ-control/occ-active.sh +++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control/occ-active.sh @@ -14,7 +14,7 @@ fi OCC_CONTROL_SERVICE="org.open_power.OCC.Control" -busctl tree $OCC_CONTROL_SERVICE --list | grep occ | xargs -r -n1 -I{} \ +busctl tree $OCC_CONTROL_SERVICE --list | grep -i occ | xargs -r -n1 -I{} \ busctl set-property $OCC_CONTROL_SERVICE {} org.open_power.OCC.Status \ OccActive b $value exit 0 |