blob: 34e68fe32d5875d3ff8ff8eaa40dd1453a888e34 [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
Lei YUd43ec212017-02-14 16:47:45 +08005Conflicts=obmc-power-chassis-off@%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]
Lei YUd43ec212017-02-14 16:47:45 +080014WantedBy=obmc-power-chassis-on@%i.target