Michael Tritz | 69848be | 2018-03-13 16:53:15 -0500 | [diff] [blame] | 1 | [Unit] |
2 | Description=Clear the Volatile PNOR partitions in host%i if Enabled | ||||
3 | After=obmc-flash-bios-enable-clearvolatile@%i.service | ||||
4 | Before=obmc-host-start-pre@%i.target | ||||
5 | ConditionPathExists=!/run/openbmc/host@%i-on | ||||
6 | |||||
7 | [Service] | ||||
8 | Type=oneshot | ||||
9 | RemainAfterExit=no | ||||
10 | ExecStart=/usr/bin/env obmc-flash-bios clearvolatile | ||||
11 | SyslogIdentifier=obmc-flash-bios-check-clearvolatile | ||||
12 | |||||
13 | [Install] | ||||
14 | RequiredBy=obmc-host-startmin@%i.target |