blob: 45776aa7129fa0c9ecb6aff66f36dc7f70d621da [file] [log] [blame]
Matt Spinler76e9a062016-12-20 10:59:13 -06001[Unit]
2Description=Enable the AVS bus on VRMs
Matt Spinler863e5de2019-07-29 08:56:51 -05003Wants=op-power-start@%i.service
4Before=op-power-start@%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]
Matt Spinler863e5de2019-07-29 08:56:51 -05009ExecStart={bindir}/avsbus-enable.sh
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050010SyslogIdentifier=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