Lei YU | aaad5a5 | 2016-12-27 14:43:14 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Disable the AVS bus on the VRMs |
| 3 | Wants=avsbus-workaround@%i.service |
| 4 | After=avsbus-workaround@%i.service |
| 5 | Before=vrm-control@%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-disable.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 |