diff options
Diffstat (limited to 'meta-ibm/recipes-phosphor/chassis/avsbus-control/swift/avsbus-enable@.service')
-rw-r--r-- | meta-ibm/recipes-phosphor/chassis/avsbus-control/swift/avsbus-enable@.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/chassis/avsbus-control/swift/avsbus-enable@.service b/meta-ibm/recipes-phosphor/chassis/avsbus-control/swift/avsbus-enable@.service new file mode 100644 index 000000000..45776aa71 --- /dev/null +++ b/meta-ibm/recipes-phosphor/chassis/avsbus-control/swift/avsbus-enable@.service @@ -0,0 +1,15 @@ +[Unit] +Description=Enable the AVS bus on VRMs +Wants=op-power-start@%i.service +Before=op-power-start@%i.service +Conflicts=obmc-chassis-poweroff@%i.target +ConditionPathExists=!/run/openbmc/chassis@%i-on + +[Service] +ExecStart={bindir}/avsbus-enable.sh +SyslogIdentifier=avsbus-enable.sh +Type=oneshot +RemainAfterExit=yes + +[Install] +WantedBy=obmc-chassis-poweron@%i.target |