Alexander Filippov | b7f7dbd | 2019-07-25 16:42:57 +0300 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Enable the AVS bus on VRMs |
| 3 | Wants=obmc-host-start-pre@%i.target |
| 4 | Before=obmc-host-start-pre@%i.target |
| 5 | Wants=obmc-power-on@%i.target |
| 6 | After=obmc-power-on@%i.target |
| 7 | Wants=fsi-scan@%i.service |
| 8 | After=fsi-scan@%i.service |
| 9 | Conflicts=obmc-chassis-poweroff@%i.target |
| 10 | ConditionPathExists=!/run/openbmc/chassis@%i-on |
| 11 | |
| 12 | [Service] |
| 13 | ExecStart=/usr/bin/avsbus-control.sh |
| 14 | SyslogIdentifier=avsbus-control.sh |
| 15 | Type=oneshot |
| 16 | RemainAfterExit=yes |
| 17 | |
| 18 | [Install] |
| 19 | WantedBy=obmc-chassis-poweron@%i.target |
| 20 | |