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