Lei YU | 3dd1eea | 2016-12-27 14:43:14 +0800 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Disable the AVS bus on the VRMs |
Joel Stanley | 8b98be1 | 2018-10-31 12:24:32 +1030 | [diff] [blame] | 3 | Wants=op-power-start@.service |
| 4 | After=op-power-start@.service |
Lei YU | 3dd1eea | 2016-12-27 14:43:14 +0800 | [diff] [blame] | 5 | Before=vrm-control@%i.service |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 6 | Conflicts=obmc-chassis-poweroff@%i.target |
Andrew Geissler | b8c4770 | 2017-03-02 16:25:43 -0600 | [diff] [blame] | 7 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
Lei YU | 3dd1eea | 2016-12-27 14:43:14 +0800 | [diff] [blame] | 8 | |
| 9 | [Service] |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 10 | ExecStart=/usr/bin/env avsbus-disable.sh |
| 11 | SyslogIdentifier=avsbus-disable.sh |
Lei YU | 3dd1eea | 2016-12-27 14:43:14 +0800 | [diff] [blame] | 12 | Type=oneshot |
| 13 | RemainAfterExit=yes |
| 14 | |
| 15 | [Install] |
Josh D. King | b9ee536 | 2017-04-06 14:43:46 -0500 | [diff] [blame] | 16 | WantedBy=obmc-chassis-poweron@%i.target |