blob: 156ef03c711875336f76cf1d6a35acfd90b11043 [file] [log] [blame]
Lei YUaaad5a52016-12-27 14:43:14 +08001[Unit]
2Description=Perform AVS bus workaround on VRMs
Lei YUe8d98b32017-02-15 11:47:57 +08003Wants=op-power-start@.service
4After=op-power-start@.service
Lei YUaaad5a52016-12-27 14:43:14 +08005Before=avsbus-disable@%i.service
Josh D. King5df2fe92017-04-06 14:43:46 -05006Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geissler27183512017-03-02 16:25:43 -06007ConditionPathExists=!/run/openbmc/chassis@%i-on
Lei YUaaad5a52016-12-27 14:43:14 +08008
9[Service]
Michael Tritzbc3818e2017-08-15 14:07:23 -050010ExecStart=/usr/bin/env avsbus-workaround.sh
11SyslogIdentifier=avsbus-workaround.sh
Lei YUaaad5a52016-12-27 14:43:14 +080012Type=oneshot
13RemainAfterExit=yes
14
15[Install]
Josh D. King5df2fe92017-04-06 14:43:46 -050016WantedBy=obmc-chassis-poweron@%i.target