blob: 45776aa7129fa0c9ecb6aff66f36dc7f70d621da [file] [log] [blame]
Matt Spinlerd4cf3a32016-12-20 10:59:13 -06001[Unit]
2Description=Enable the AVS bus on VRMs
Matt Spinlerf1ceece2019-07-29 08:56:51 -05003Wants=op-power-start@%i.service
4Before=op-power-start@%i.service
Josh D. King5df2fe92017-04-06 14:43:46 -05005Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler27183512017-03-02 16:25:43 -06006ConditionPathExists=!/run/openbmc/chassis@%i-on
Matt Spinlerd4cf3a32016-12-20 10:59:13 -06007
8[Service]
Matt Spinlerf1ceece2019-07-29 08:56:51 -05009ExecStart={bindir}/avsbus-enable.sh
Michael Tritzbc3818e2017-08-15 14:07:23 -050010SyslogIdentifier=avsbus-enable.sh
Matt Spinlerd4cf3a32016-12-20 10:59:13 -060011Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Josh D. King5df2fe92017-04-06 14:43:46 -050015WantedBy=obmc-chassis-poweron@%i.target