blob: 35475673f90ddf4ca84d00a343a7f3b77dc57079 [file] [log] [blame]
Matt Spinlereb0074c2016-12-20 10:59:13 -06001[Unit]
2Description=Enable the AVS bus on VRMs
3Wants=vrm-control@%i.service
4After=vrm-control@%i.service
5Before=vcs_off@%i.service
Andrew Geissler81417892017-01-30 11:19:55 -06006Conflicts=obmc-power-chassis-off@%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-enable.sh
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Andrew Geissler81417892017-01-30 11:19:55 -060015WantedBy=obmc-power-chassis-on@%i.target