blob: 4d300c5a12e574fa18fb28ea9e4682ddf986796d [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
Andrew Geissler2e5b4752017-01-30 11:19:55 -06006Conflicts=obmc-power-chassis-off@%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]
Andrew Geissler2e5b4752017-01-30 11:19:55 -060015WantedBy=obmc-power-chassis-on@%i.target