Lei YU | aaad5a5 | 2016-12-27 14:43:14 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Perform AVS bus workaround on VRMs |
Lei YU | e8d98b3 | 2017-02-15 11:47:57 +0800 | [diff] [blame] | 3 | Wants=op-power-start@.service |
| 4 | After=op-power-start@.service |
Lei YU | aaad5a5 | 2016-12-27 14:43:14 +0800 | [diff] [blame] | 5 | Before=avsbus-disable@%i.service |
Lei YU | d43ec21 | 2017-02-14 16:47:45 +0800 | [diff] [blame] | 6 | Conflicts=obmc-power-chassis-off@%i.target |
Andrew Geissler | 2718351 | 2017-03-02 16:25:43 -0600 | [diff] [blame] | 7 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
Lei YU | aaad5a5 | 2016-12-27 14:43:14 +0800 | [diff] [blame] | 8 | |
| 9 | [Service] |
| 10 | ExecStart={bindir}/avsbus-workaround.sh |
| 11 | Type=oneshot |
| 12 | RemainAfterExit=yes |
| 13 | |
| 14 | [Install] |
Lei YU | d43ec21 | 2017-02-14 16:47:45 +0800 | [diff] [blame] | 15 | WantedBy=obmc-power-chassis-on@%i.target |