blob: ca92562067fb91cb1bf42addd8ae460bdeb0f2db [file] [log] [blame]
Matt Spinlerd4cf3a32016-12-20 10:59:13 -06001[Unit]
2Description=Disable the AVS bus on the VRMs
3Wants=avsbus-workaround@%i.service
4After=avsbus-workaround@%i.service
5Before=vrm-control@%i.service
Josh D. King5df2fe92017-04-06 14:43:46 -05006Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler27183512017-03-02 16:25:43 -06007ConditionPathExists=!/run/openbmc/chassis@%i-on
Matt Spinlerd4cf3a32016-12-20 10:59:13 -06008
9[Service]
10ExecStart={bindir}/avsbus-disable.sh
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Josh D. King5df2fe92017-04-06 14:43:46 -050015WantedBy=obmc-chassis-poweron@%i.target