blob: 90e8b03b2689f7d82271adc502c08bc4535dfaab [file] [log] [blame]
Matt Spinlereb0074c2016-12-20 10:59:13 -06001[Unit]
2Description=Disable the AVS bus on the VRMs
Andrew Geissler554a7d92017-07-28 15:50:00 -05003Wants=power-workarounds@%i.service
4After=power-workarounds@%i.service
Matt Spinlereb0074c2016-12-20 10:59:13 -06005Before=vrm-control@%i.service
Josh D. King9d5d7f42017-04-06 14:43:46 -05006Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler62e12852017-03-02 16:25:43 -06007ConditionPathExists=!/run/openbmc/chassis@%i-on
Matt Spinlereb0074c2016-12-20 10:59:13 -06008
9[Service]
10ExecStart={bindir}/avsbus-disable.sh
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Josh D. King9d5d7f42017-04-06 14:43:46 -050015WantedBy=obmc-chassis-poweron@%i.target