summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-core
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-03-08 22:53:51 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-03-16 23:00:47 +0300
commitcf92a506586cb25e57ec06aaeacbc223832d5e28 (patch)
tree8d5e8b2266a1e1dc10014aaca79818e61ca1001c /meta-phosphor/common/recipes-core
parent1f09d4ae2aa35b469578ff284c98579d23cdac4d (diff)
downloadopenbmc-cf92a506586cb25e57ec06aaeacbc223832d5e28.tar.xz
Add FSI enable/disable services for cronus use
Start fsi-disable.service to unbind the FSI Driver. Start fsi-enable.service to bind it again and rescan. Also added a fsi-bind@.service so we can ensure the driver is bound each power on. Change-Id: I5fa62b44994aea3bb645e755187f29e720bf3bce Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r--meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target
index 7b909d1fe..edf669724 100644
--- a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target
+++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-power-stop@.target
@@ -3,5 +3,6 @@ Description=Power%i Off
After=obmc-power-stop-pre@%i.target
Wants={SYSTEMD_DEFAULT_TARGET}
Conflicts=obmc-power-chassis-on@%i.target
+Conflicts=fsi-disable.service
RefuseManualStart=yes
RefuseManualStop=yes