blob: b7fb41e245a1c645d4419f3eb3a5d0d2e0b89fc4 [file] [log] [blame]
Matt Spinler76e9a062016-12-20 10:59:13 -06001[Unit]
2Description=Enable the AVS bus on VRMs
3Wants=vrm-control@%i.service
4After=vrm-control@%i.service
Josh D. Kingb9ee5362017-04-06 14:43:46 -05005Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geisslerb8c47702017-03-02 16:25:43 -06006ConditionPathExists=!/run/openbmc/chassis@%i-on
Matt Spinler76e9a062016-12-20 10:59:13 -06007
8[Service]
Michael Tritz0ad3b1d2017-08-15 14:07:23 -05009ExecStart=/usr/bin/env avsbus-enable.sh
10SyslogIdentifier=avsbus-enable.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