commit | 053a5f4c623c60869e96d8008990e405f54f31f4 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <andrewg@us.ibm.com> | Mon May 01 12:46:57 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon May 08 01:55:20 2017 +0000 |
tree | c8294bcac8655a50cf420ae1549bbc4545f85b73 | |
parent | db7599a26f135e98a68429fbe25cf250e25cbaa1 [diff] |
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>
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 a5efb41..ad2b8b2 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 @@ 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