summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/chassis
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-05-30 11:29:32 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-06-03 12:57:42 +0000
commitaa8daffd6b7ce409012cbc2b0fe2b3f98824f774 (patch)
tree059b87b351bc7f2ee615cd2377bad6f7c443e8b2 /meta-phosphor/common/recipes-phosphor/chassis
parent5208dbd3b5dfbdfd29f567475ab81c524c1f999e (diff)
downloadtalos-openbmc-aa8daffd6b7ce409012cbc2b0fe2b3f98824f774.tar.gz
talos-openbmc-aa8daffd6b7ce409012cbc2b0fe2b3f98824f774.zip
Only run soft power off when not host requested
When a power off or reboot is host initiated, do not run the soft power off service. Since the host is the one requesting the action, there's no need to execute the soft off function (notification to host to shutdown). Change-Id: Ia6e833598e6042646e5d5bd17821ed29e141fa6f Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/chassis')
-rw-r--r--meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service
index de2ff70b2..9696b1afa 100644
--- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service
+++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-off@.service
@@ -15,6 +15,7 @@ RemainAfterExit=yes
ExecStart={sbindir}/pgood_wait /org/openbmc/control/power%i off
ExecStart=/bin/rm -f /run/openbmc/chassis@%i-on
ExecStart=/bin/rm -f /run/openbmc/host@%i-on
+ExecStart=/bin/rm -f /run/openbmc/host@%i-request
[Install]
WantedBy=obmc-host-stop@%i.target
OpenPOWER on IntegriCloud