blob: 859f42883659ddc71141700da20b7f8d31301ed7 [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]
Michael Tritzebfbc5d2017-08-15 14:07:23 -050010ExecStart=/usr/bin/env avsbus-disable.sh
11SyslogIdentifier=avsbus-disable.sh
Matt Spinlereb0074c2016-12-20 10:59:13 -060012Type=oneshot
13RemainAfterExit=yes
14
15[Install]
Josh D. King9d5d7f42017-04-06 14:43:46 -050016WantedBy=obmc-chassis-poweron@%i.target