blob: 60297d944702cebb9afccc6c134440ff72fcce19 [file] [log] [blame]
Lei YUaaad5a52016-12-27 14:43:14 +08001[Unit]
2Description=Enable the AVS bus on VRMs
3Wants=vrm-control@%i.service
4After=vrm-control@%i.service
Josh D. King5df2fe92017-04-06 14:43:46 -05005Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler27183512017-03-02 16:25:43 -06006ConditionPathExists=!/run/openbmc/chassis@%i-on
Lei YUaaad5a52016-12-27 14:43:14 +08007
8[Service]
9ExecStart={bindir}/avsbus-enable.sh
10Type=oneshot
11RemainAfterExit=yes
12
13[Install]
Josh D. King5df2fe92017-04-06 14:43:46 -050014WantedBy=obmc-chassis-poweron@%i.target