summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/chassis
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2017-05-01 20:46:57 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-05-08 04:55:20 +0300
commit053a5f4c623c60869e96d8008990e405f54f31f4 (patch)
treec8294bcac8655a50cf420ae1549bbc4545f85b73 /meta-phosphor/common/recipes-phosphor/chassis
parentdb7599a26f135e98a68429fbe25cf250e25cbaa1 (diff)
downloadopenbmc-053a5f4c623c60869e96d8008990e405f54f31f4.tar.xz
Remove host running file on power off
This file is used after a BMC reset when the host is running to indicate to the host boot services that the host is running. On power off, need to be sure to remove it if present. Change-Id: I5245dd2d3132fe306d14c30b3c50edc73a51221e 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 a5efb41338..ad2b8b265f 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
@@ -12,6 +12,7 @@ Type=oneshot
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
[Install]
WantedBy=obmc-host-stop@%i.target