blob: 1bae8df0b91c5257829355e56096bbf9ea285d1b [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
Lei YUd43ec212017-02-14 16:47:45 +08006Conflicts=obmc-power-chassis-off@%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]
10ExecStart={bindir}/avsbus-workaround.sh
11Type=oneshot
12RemainAfterExit=yes
13
14[Install]
Lei YUd43ec212017-02-14 16:47:45 +080015WantedBy=obmc-power-chassis-on@%i.target