blob: 782590e5e1c962093d2faaf0fe0c3b4366abb084 [file] [log] [blame]
Lei YU3dd1eea2016-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. 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
Lei YU3dd1eea2016-12-27 14:43:14 +08007
8[Service]
Matt Spinler568781e2022-04-07 16:46:36 -05009ExecStart=/usr/bin/avsbus-enable.sh
Lei YU3dd1eea2016-12-27 14:43:14 +080010Type=oneshot
11RemainAfterExit=yes
12
13[Install]
Josh D. Kingb9ee5362017-04-06 14:43:46 -050014WantedBy=obmc-chassis-poweron@%i.target