blob: 38c1e850b07ec4f48af97a3322c107bb04a7c808 [file] [log] [blame]
Lei YU3dd1eea2016-12-27 14:43:14 +08001[Unit]
2Description=Disable the AVS bus on the VRMs
Joel Stanley8b98be12018-10-31 12:24:32 +10303Wants=op-power-start@.service
4After=op-power-start@.service
Lei YU3dd1eea2016-12-27 14:43:14 +08005Before=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
Lei YU3dd1eea2016-12-27 14:43:14 +08008
9[Service]
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050010ExecStart=/usr/bin/env avsbus-disable.sh
11SyslogIdentifier=avsbus-disable.sh
Lei YU3dd1eea2016-12-27 14:43:14 +080012Type=oneshot
13RemainAfterExit=yes
14
15[Install]
Josh D. Kingb9ee5362017-04-06 14:43:46 -050016WantedBy=obmc-chassis-poweron@%i.target