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 | ||||
12 | ExecStart={sbindir}/pflash -i | ||||
13 | |||||
14 | [Install] | ||||
15 | WantedBy=obmc-host-start@%i.target |