diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-06-07 23:17:15 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-06-25 23:05:23 +0300 |
commit | 859b92ea28bb75d98c98b058339e181c208bba5b (patch) | |
tree | ac7ca7810217ba491317674bf91201099723d96d /meta-phosphor/common/recipes-phosphor/fans | |
parent | f18df6b5af6fc0481a74059aec89edb3c4e2e6ec (diff) | |
download | openbmc-859b92ea28bb75d98c98b058339e181c208bba5b.tar.xz |
Remove use of mapper call
Replace invocations of mapper call with a call to busctl and mapper
get-service. This provides equivalent functionality but opens the
door for dropping a systemd patch we have carried for some time.
Change-Id: Iea0cce89341939b49b095d1f5010415578331d4d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/fans')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service index c426c445d7..f062fc9c8c 100644 --- a/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service +++ b/meta-phosphor/common/recipes-phosphor/fans/obmc-control-fan/obmc-max-fans.service @@ -7,5 +7,5 @@ After=obmc-fan-control.target [Service] Type=oneshot Restart=no -ExecStart=/usr/bin/env mapper call /org/openbmc/control/fans org.openbmc.control.Fans setMax -SyslogIdentifier=mapper +ExecStart=/bin/sh -c "busctl call `mapper get-service /org/openbmc/control/fans` /org/openbmc/control/fans org.openbmc.control.Fans setMax" +SyslogIdentifier=obmc-max-fans |