Andrew Geissler | 25875e3 | 2017-05-11 09:54:04 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Init PNOR for Host%i |
| 3 | After=obmc-power-on@%i.target |
| 4 | Before=obmc-host-start-pre@%i.target |
| 5 | Conflicts=obmc-host-stop@%i.target |
| 6 | ConditionPathExists=!/run/openbmc/host@%i-on |
| 7 | |
| 8 | [Service] |
| 9 | Type=oneshot |
| 10 | RemainAfterExit=yes |
| 11 | # TODO openbmc/openbmc#1598 - Delete this service once available |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 12 | ExecStart=/usr/bin/env pflash -i |
| 13 | SyslogIdentifier=pflash |
Andrew Geissler | 25875e3 | 2017-05-11 09:54:04 -0500 | [diff] [blame] | 14 | |
| 15 | [Install] |
| 16 | WantedBy=obmc-host-start@%i.target |