Adriana Kobylak | 10e915a | 2019-05-31 13:25:36 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Clear the Volatile PNOR partitions in host%I if Enabled |
Adriana Kobylak | bbb5e3b | 2020-06-19 10:22:13 -0500 | [diff] [blame] | 3 | After=obmc-vpnor-enable-clearvolatile@%i.service |
Adriana Kobylak | 10e915a | 2019-05-31 13:25:36 -0500 | [diff] [blame] | 4 | Before=obmc-host-start-pre@%i.target |
| 5 | ConditionPathExists=!/run/openbmc/host@%i-on |
| 6 | |
| 7 | [Service] |
| 8 | Type=oneshot |
| 9 | RemainAfterExit=no |
Adriana Kobylak | bbb5e3b | 2020-06-19 10:22:13 -0500 | [diff] [blame] | 10 | ExecStart=/usr/bin/obmc-vpnor-util clearvolatile |
Adriana Kobylak | 10e915a | 2019-05-31 13:25:36 -0500 | [diff] [blame] | 11 | |
| 12 | [Install] |
| 13 | RequiredBy=obmc-host-startmin@%i.target |